diff options
Diffstat (limited to 'chrome/plugin/plugin_main.cc')
-rw-r--r-- | chrome/plugin/plugin_main.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc index 84aa0b5..b925a01 100644 --- a/chrome/plugin/plugin_main.cc +++ b/chrome/plugin/plugin_main.cc @@ -50,8 +50,9 @@ int PluginMain(CommandLine &parsed_command_line, std::wstring channel_name = parsed_command_line.GetSwitchValue(switches::kProcessChannelID); - std::wstring plugin_path = - parsed_command_line.GetSwitchValue(switches::kPluginPath); + FilePath plugin_path = + FilePath::FromWStringHack( + parsed_command_line.GetSwitchValue(switches::kPluginPath)); if (PluginProcess::GlobalInit(channel_name, plugin_path)) { if (!no_sandbox && target_services) { target_services->LowerToken(); |