Bug 1288367 - Fix XHR Init call in mozstumbler gonk r=tzimmermann
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Thu, 21 Jul 2016 12:43:03 +0200
changeset 346124 4ff8b2aeedf817730e30e378e39d036d0cb52f6e
parent 346123 7e53fb50f0afbde895fcc4bd2b413224862546ae
child 346125 8ad7dc5cba0ca3c18cdc32beaa0b0808488cabd3
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstzimmermann
bugs1288367
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1288367 - Fix XHR Init call in mozstumbler gonk r=tzimmermann MozReview-Commit-ID: 18UiXXbTo1f
dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp
--- a/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp
+++ b/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp
@@ -45,17 +45,17 @@ UploadStumbleRunnable::Upload()
   nsCOMPtr<nsIScriptSecurityManager> secman =
     do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
   NS_ENSURE_SUCCESS(rv, rv);
 
   nsCOMPtr<nsIPrincipal> systemPrincipal;
   rv = secman->GetSystemPrincipal(getter_AddRefs(systemPrincipal));
   NS_ENSURE_SUCCESS(rv, rv);
 
-  rv = xhr->Init(systemPrincipal, nullptr, nullptr, nullptr, nullptr);
+  rv = xhr->Init(systemPrincipal, nullptr, nullptr, nullptr);
   NS_ENSURE_SUCCESS(rv, rv);
 
   nsCOMPtr<nsIURLFormatter> formatter =
     do_CreateInstance("@mozilla.org/toolkit/URLFormatterService;1", &rv);
   NS_ENSURE_SUCCESS(rv, rv);
   nsString url;
   rv = formatter->FormatURLPref(NS_LITERAL_STRING("geo.stumbler.url"), url);
   NS_ENSURE_SUCCESS(rv, rv);