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

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

Issue 888043003: [Extensions Toolbar Views] Add a ToolbarActionView unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 10 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 c56b9dd6614c3e16ddef65d02f16b424265ef629..946c021509b240a26cd51dba87e86438fd13d444 100644
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.cc
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
@@ -227,7 +227,7 @@ void BrowserActionsContainer::AddViewForAction(
view_controller->GetActionName();
ToolbarActionView* view =
- new ToolbarActionView(view_controller, browser_, this);
+ new ToolbarActionView(view_controller, browser_->profile(), this);
toolbar_action_views_.insert(toolbar_action_views_.begin() + index, view);
AddChildViewAt(view, index);
}

Powered by Google App Engine
This is Rietveld 408576698