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

Unified Diff: chrome/browser/ui/views/toolbar/browser_actions_container.cc

Issue 1573843002: Make `chrome` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_target
Patch Set: browsertest fix Created 4 years, 11 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/toolbar/browser_actions_container.cc
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.cc b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
index 56277e18bc326485448da9b769e177ffec05184e..1c137558e56a4b0bbf3ebeaf02e8ea75b6ba7fe0 100644
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.cc
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
@@ -223,8 +223,7 @@ void BrowserActionsContainer::AddViewForAction(
if (chevron_)
chevron_->CloseMenu();
- ToolbarActionView* view =
- new ToolbarActionView(view_controller, browser_->profile(), this);
+ ToolbarActionView* view = new ToolbarActionView(view_controller, this);
toolbar_action_views_.insert(toolbar_action_views_.begin() + index, view);
AddChildViewAt(view, index);
}

Powered by Google App Engine
This is Rietveld 408576698