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

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 d3d221f52fc47adfa1733b756bcbddaf9c4418d9..c58eaa6a5a9174273b5a29c38235a2c1e0868328 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
@@ -112,7 +112,7 @@ LocationBarViewMac::LocationBarViewMac(
content::PAGE_TRANSITION_FROM_ADDRESS_BAR)),
weak_ptr_factory_(this) {
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