Bug 1491561 follow-up: Fix a build problem
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 17 Sep 2018 21:35:18 -0400
changeset 436891 3ab80aaa53f9
parent 436890 9bc9a1e07a53
child 436892 b2ef0f4b011c
push id34664
push useraciure@mozilla.com
push dateTue, 18 Sep 2018 07:43:05 +0000
treeherdermozilla-central@85b4d2bf888a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1491561
milestone64.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 1491561 follow-up: Fix a build problem
js/xpconnect/src/XPCComponents.cpp
--- a/js/xpconnect/src/XPCComponents.cpp
+++ b/js/xpconnect/src/XPCComponents.cpp
@@ -3232,26 +3232,26 @@ nsXPCComponents_Utils::CreateCommandLine
     commandLine.forget(aCommandLine);
     return NS_OK;
 }
 
 NS_IMETHODIMP
 nsXPCComponents_Utils::CreateLoadContext(nsILoadContext** aLoadContext)
 {
     NS_ENSURE_ARG_POINTER(aLoadContext);
-    nsCOMPtr<nsILoadContext> loadContext = CreateLoadContext();
+    nsCOMPtr<nsILoadContext> loadContext = ::CreateLoadContext();
     loadContext.forget(aLoadContext);
     return NS_OK;
 }
 
 NS_IMETHODIMP
 nsXPCComponents_Utils::CreatePrivateLoadContext(nsILoadContext** aLoadContext)
 {
     NS_ENSURE_ARG_POINTER(aLoadContext);
-    nsCOMPtr<nsILoadContext> loadContext = CreatePrivateLoadContext();
+    nsCOMPtr<nsILoadContext> loadContext = ::CreatePrivateLoadContext();
     loadContext.forget(aLoadContext);
     return NS_OK;
 }
 
 /***************************************************************************/
 /***************************************************************************/
 /***************************************************************************/