Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8208)

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 10887029: Only show chrome2mobile in action box if it is enabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index c0505243ff21b5f7f9fbdaf04f2bb38b5ed30f8e..54a89260621e4ea3f9851c07162f66bd35ea5c3c 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -124,7 +124,7 @@ LocationBarViewMac::LocationBarViewMac(
}
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableActionBox)) {
- plus_decoration_.reset(new PlusDecoration(this, command_updater, browser_));
+ plus_decoration_.reset(new PlusDecoration(this, browser_));
}
for (size_t i = 0; i < CONTENT_SETTINGS_NUM_TYPES; ++i) {

Powered by Google App Engine
This is Rietveld 408576698