Index: chrome/plugin/webplugin_delegate_stub.cc |
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc |
index 28c0e6373fabf2a9643b2b8ffb14d3531769eb8c..31444b688e80d00ad4a6397b5d9df27c2e223f92 100644 |
--- a/chrome/plugin/webplugin_delegate_stub.cc |
+++ b/chrome/plugin/webplugin_delegate_stub.cc |
@@ -123,7 +123,7 @@ void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params, |
argv[i] = const_cast<char*>(params.arg_values[i].c_str()); |
} |
- CommandLine command_line; |
+ const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
FilePath path = |
FilePath(command_line.GetSwitchValue(switches::kPluginPath)); |
delegate_ = WebPluginDelegateImpl::Create( |