diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 21:15:34 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 21:15:34 +0000 |
commit | dee7c0509d0e98d1210725aad2ce6e5153780592 (patch) | |
tree | 2408eb938674cde03bffb69350171980222d1584 /chrome/plugin/webplugin_delegate_stub.cc | |
parent | f756abf74be7ce47d482f9760eacb608c9f0e121 (diff) | |
download | chromium_src-dee7c0509d0e98d1210725aad2ce6e5153780592.zip chromium_src-dee7c0509d0e98d1210725aad2ce6e5153780592.tar.gz chromium_src-dee7c0509d0e98d1210725aad2ce6e5153780592.tar.bz2 |
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
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.cc')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc index 9bc8561..00c42fe 100644 --- a/chrome/plugin/webplugin_delegate_stub.cc +++ b/chrome/plugin/webplugin_delegate_stub.cc @@ -165,9 +165,9 @@ void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params, } const CommandLine& command_line = *CommandLine::ForCurrentProcess(); - FilePath path = FilePath::FromWStringHack( - command_line.GetSwitchValue(switches::kPluginPath)); - + FilePath path = + command_line.GetSwitchValuePath(switches::kPluginPath) +; gfx::PluginWindowHandle parent = gfx::kNullPluginWindow; #if defined(OS_WIN) |