summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_plugin_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/chrome_plugin_util.cc')
-rw-r--r--chrome/common/chrome_plugin_util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/chrome_plugin_util.cc b/chrome/common/chrome_plugin_util.cc
index 33b8345..649975f 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