| Index: chrome/browser/render_view_context_menu_controller.cc
|
| diff --git a/chrome/browser/render_view_context_menu_controller.cc b/chrome/browser/render_view_context_menu_controller.cc
|
| index bdb34e7e0e8b8cc4dbaa8b233db8f459b86f7bd2..307bae4b49afd22ef1ab4a103b517725837ba466 100644
|
| --- a/chrome/browser/render_view_context_menu_controller.cc
|
| +++ b/chrome/browser/render_view_context_menu_controller.cc
|
| @@ -475,7 +475,7 @@ void RenderViewContextMenuController::ExecuteCommand(int id) {
|
| }
|
|
|
| bool RenderViewContextMenuController::IsDevCommandEnabled(int id) const {
|
| - CommandLine command_line;
|
| + const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| if (command_line.HasSwitch(switches::kAlwaysEnableDevTools))
|
| return true;
|
|
|
|
|