| Index: chrome/common/chrome_plugin_util.cc
|
| diff --git a/chrome/common/chrome_plugin_util.cc b/chrome/common/chrome_plugin_util.cc
|
| index 33b83453a521433c23b80154e1194c86c518d902..649975f6e113c3b7795f26bdb84408ced62bace2 100644
|
| --- a/chrome/common/chrome_plugin_util.cc
|
| +++ b/chrome/common/chrome_plugin_util.cc
|
| @@ -141,11 +141,11 @@ CPError CPB_GetCommandLineArgumentsCommon(const char* url,
|
| }
|
| }
|
|
|
| -#if defined (OS_CHROMEOS)
|
| - std::wstring profile = cmd.GetSwitchValue(switches::kLoginProfile);
|
| +#if defined(OS_CHROMEOS)
|
| + FilePath profile = cmd.GetSwitchValuePath(switches::kLoginProfile);
|
| if (!profile.empty()) {
|
| arguments_w += std::wstring(L"--") + ASCIIToWide(switches::kLoginProfile) +
|
| - L"=\"" + profile + L"\" ";
|
| + L"=\"" + profile.ToWStringHack() + L"\" ";
|
| }
|
| #endif
|
|
|
|
|