Bug 1080937 - Fix a clang-cl build error in nsHostResolver.cpp; r=sworkman
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 11 Oct 2014 09:41:51 -0400
changeset 233184 c6af18bbbafa95040e66f4e81297a4237800f3ee
parent 233183 94e7f3c3969c899f753098afb6639b811fbc7d1c
child 233185 99531e7a02af22d0bcbf950762ba577fc1b6b711
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssworkman
bugs1080937
milestone35.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 1080937 - Fix a clang-cl build error in nsHostResolver.cpp; r=sworkman
netwerk/dns/nsHostResolver.cpp
--- a/netwerk/dns/nsHostResolver.cpp
+++ b/netwerk/dns/nsHostResolver.cpp
@@ -661,17 +661,17 @@ nsHostResolver::DnsExperimentChanged(con
     }
 
     auto self = static_cast<nsHostResolver*>(aClosure);
     MOZ_ASSERT(self);
 
     // We can't set a pref in the context of a pref change callback, so
     // dispatch DnsExperimentChangedInternal for async getting/setting.
     DebugOnly<nsresult> rv = NS_DispatchToMainThread(
-        NS_NewRunnableMethod(self, &DnsExperimentChangedInternal));
+        NS_NewRunnableMethod(self, &nsHostResolver::DnsExperimentChangedInternal));
     NS_WARN_IF_FALSE(NS_SUCCEEDED(rv),
                      "Could not dispatch DnsExperimentChanged event.");
 }
 
 void
 nsHostResolver::InitCRandom()
 {
     MOZ_ASSERT(NS_IsMainThread(), "Should be seeding rand() on main thread!");