Bug 1491561 follow-up: Fix a build problem
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 17 Sep 2018 21:35:18 -0400
changeset 436868 3ab80aaa53f9
parent 436867 9bc9a1e07a53
child 436869 b2ef0f4b011c
push id107938
push usereakhgari@mozilla.com
push dateTue, 18 Sep 2018 01:35:43 +0000
treeherdermozilla-inbound@3ab80aaa53f9 [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;
 }
 
 /***************************************************************************/
 /***************************************************************************/
 /***************************************************************************/