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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

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/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index cfc819a7adcf6783792898e3decdad29a53adb5b..f8fdecf62c886c079545a5bb6d713b37c1ce892e 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -296,7 +296,7 @@ void LocationBarView::Init(views::View* popup_parent_view) {
star_view_->SetVisible(true);
}
if (ActionBoxButtonView::IsActionBoxEnabled() && browser_) {
- action_box_button_view_ = new ActionBoxButtonView(browser_, profile_);
+ action_box_button_view_ = new ActionBoxButtonView(browser_);
AddChildView(action_box_button_view_);
if (star_view_)
star_view_->SetVisible(false);

Powered by Google App Engine
This is Rietveld 408576698