Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3511)

Unified Diff: chrome/browser/importer/external_process_importer_client.cc

Issue 22750002: Move AlterEnvironment to base/environment.h, implement on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/process_util_unittest.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/external_process_importer_client.cc
diff --git a/chrome/browser/importer/external_process_importer_client.cc b/chrome/browser/importer/external_process_importer_client.cc
index aa7199edb9ead27f2214b12d947ec735e11ce188..97a1b31a9249d58f599bba3945c692ed3675636d 100644
--- a/chrome/browser/importer/external_process_importer_client.cc
+++ b/chrome/browser/importer/external_process_importer_client.cc
@@ -285,10 +285,10 @@ void ExternalProcessImporterClient::StartProcessOnIOThread(
utility_process_host_->DisableSandbox();
#if defined(OS_MACOSX)
- base::EnvironmentVector env;
+ base::EnvironmentMap env;
std::string dylib_path = GetFirefoxDylibPath().value();
if (!dylib_path.empty())
- env.push_back(std::make_pair("DYLD_FALLBACK_LIBRARY_PATH", dylib_path));
+ env["DYLD_FALLBACK_LIBRARY_PATH"] = dylib_path;
utility_process_host_->SetEnv(env);
#endif
« no previous file with comments | « base/process/process_util_unittest.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698