summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_process_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 21:26:47 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 21:26:47 +0000
commit3d2217d4327f2033ace44ab0aa87c9f50fc011fe (patch)
tree89444d2d3ceb9134ab9c0a8e35d06afe388c0966 /chrome/browser/plugin_process_host.cc
parentab417244b7fe6b281eaba42c10a045efd8474bb1 (diff)
downloadchromium_src-3d2217d4327f2033ace44ab0aa87c9f50fc011fe.zip
chromium_src-3d2217d4327f2033ace44ab0aa87c9f50fc011fe.tar.gz
chromium_src-3d2217d4327f2033ace44ab0aa87c9f50fc011fe.tar.bz2
Fix environment variables not being used after switching to ChildProcessLauncher.
BUG=28602 TEST=verified flash works on Mac Review URL: http://codereview.chromium.org/439005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r--chrome/browser/plugin_process_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc
index 422c095..3739c3f 100644
--- a/chrome/browser/plugin_process_host.cc
+++ b/chrome/browser/plugin_process_host.cc
@@ -420,9 +420,9 @@ bool PluginProcessHost::Init(const WebPluginInfo& info,
interpose_list.insert(0, ":");
interpose_list.insert(0, existing_list);
}
- env.push_back(std::pair<const char*, const char*>(
+ env.push_back(std::pair<std::string, std::string>(
plugin_interpose_strings::kDYLDInsertLibrariesKey,
- interpose_list.c_str()));
+ interpose_list));
#endif
#endif