Index: content/browser/plugin_process_host.cc |
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc |
index bffd16ef50e60bec71898606cc116a8cf003b91c..0e7dffbce57208fb0091a98e493efda4d61c9794 100644 |
--- a/content/browser/plugin_process_host.cc |
+++ b/content/browser/plugin_process_host.cc |
@@ -220,7 +220,7 @@ bool PluginProcessHost::Init(const WebPluginInfo& info) { |
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); |
#if defined(OS_POSIX) |
- base::EnvironmentVector env; |
+ base::EnvironmentMap env; |
#if defined(OS_MACOSX) && !defined(__LP64__) |
if (!browser_command_line.HasSwitch(switches::kDisableCarbonInterposing)) { |
std::string interpose_list = GetContentClient()->GetCarbonInterposePath(); |
@@ -233,8 +233,7 @@ bool PluginProcessHost::Init(const WebPluginInfo& info) { |
interpose_list.insert(0, existing_list); |
} |
} |
- env.push_back(std::pair<std::string, std::string>( |
- kDYLDInsertLibrariesKey, interpose_list)); |
+ env[kDYLDInsertLibrariesKey] = interpose_list; |
} |
#endif |
#endif |