Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
index 3c5d6ef1737bbf80b94bde1e17974ead94d115ce..601a276ad1a97dc880c4ad58057f8978a8eb544c 100644 |
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
@@ -67,6 +67,7 @@ |
#include "chrome/browser/ui/webui/extensions/extension_info_ui.h" |
#include "chrome/browser/ui/zoom/zoom_controller.h" |
#include "chrome/common/chrome_notification_types.h" |
+#include "chrome/common/chrome_switches.h" |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_action.h" |
#include "chrome/common/extensions/extension_manifest_constants.h" |
@@ -471,7 +472,7 @@ void LocationBarViewGtk::Init(bool popup_window_mode) { |
// doesn't work, someone is probably calling show_all on our parent box. |
gtk_box_pack_end(GTK_BOX(entry_box_), tab_to_search_hint_, FALSE, FALSE, 0); |
- if (extensions::switch_utils::IsActionBoxEnabled()) { |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableActionBox)) { |
// TODO(mpcomplete): should we hide this if ShouldOnlyShowLocation()==true? |
action_box_button_.reset(new ActionBoxButtonGtk(browser_)); |