summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/webplugin_delegate_stub.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 21:28:56 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 21:28:56 +0000
commit461f028ab0acdd69a5af64cf45c84e91eb41396c (patch)
treed1b89cf6e6dff544ecfff0424f4f0b728b540f49 /chrome/plugin/webplugin_delegate_stub.cc
parentdee7c0509d0e98d1210725aad2ce6e5153780592 (diff)
downloadchromium_src-461f028ab0acdd69a5af64cf45c84e91eb41396c.zip
chromium_src-461f028ab0acdd69a5af64cf45c84e91eb41396c.tar.gz
chromium_src-461f028ab0acdd69a5af64cf45c84e91eb41396c.tar.bz2
Revert "Remove GetSwitchValue() from chrome/* where easy."
This reverts commit r54966. Meant to try it, not commit it, sorry everyone. :( git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54969 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.cc')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index 00c42fe..9bc8561 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 =
- command_line.GetSwitchValuePath(switches::kPluginPath)
-;
+ FilePath path = FilePath::FromWStringHack(
+ command_line.GetSwitchValue(switches::kPluginPath));
+
gfx::PluginWindowHandle parent = gfx::kNullPluginWindow;
#if defined(OS_WIN)