From dee7c0509d0e98d1210725aad2ce6e5153780592 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Wed, 4 Aug 2010 21:15:34 +0000 Subject: Remove GetSwitchValue() from chrome/* where easy. Review URL: http://codereview.chromium.org/3057033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54966 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_plugin_util.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/common/chrome_plugin_util.cc') 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 -- cgit v1.1