author | Chris Jones <jones.chris.g@gmail.com> |
Fri, 09 Apr 2010 15:21:08 -0500 | |
changeset 40629 | c11e93ca14b6ac18f08eceaccde725c2f8d3ee81 |
parent 40628 | 402dff168b49ab7d1f1cba1439fe53fc487058dd |
child 40630 | 88a9ffdc4fea9b2c2705a98c45f7d40de2c8137c |
push id | 12716 |
push user | cjones@mozilla.com |
push date | Fri, 09 Apr 2010 20:21:02 +0000 |
treeherder | mozilla-central@c11e93ca14b6 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 542053 |
milestone | 1.9.3a5pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
|
--- a/ipc/glue/GeckoChildProcessHost.cpp +++ b/ipc/glue/GeckoChildProcessHost.cpp @@ -51,18 +51,16 @@ #endif #include "nsExceptionHandler.h" #include "nsDirectoryServiceDefs.h" #include "nsIFile.h" #include "mozilla/ipc/BrowserProcessSubThread.h" -using base::environment_map; - using mozilla::MonitorAutoEnter; using mozilla::ipc::GeckoChildProcessHost; template<> struct RunnableMethodTraits<GeckoChildProcessHost> { static void RetainCallee(GeckoChildProcessHost* obj) { } static void ReleaseCallee(GeckoChildProcessHost* obj) { } @@ -180,17 +178,17 @@ GeckoChildProcessHost::PerformAsyncLaunc #if defined(OS_POSIX) // For POSIX, we have to be extremely anal about *not* using // std::wstring in code compiled with Mozilla's -fshort-wchar // configuration, because chromium is compiled with -fno-short-wchar // and passing wstrings from one config to the other is unsafe. So // we split the logic here. FilePath exePath; - environment_map newEnvVars; + base::environment_map newEnvVars; nsCOMPtr<nsIProperties> directoryService(do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID)); nsCOMPtr<nsIFile> greDir; nsresult rv = directoryService->Get(NS_GRE_DIR, NS_GET_IID(nsIFile), getter_AddRefs(greDir)); if (NS_SUCCEEDED(rv)) { nsCString path; greDir->GetNativePath(path); exePath = FilePath(path.get());