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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_model.cc

Issue 1495653003: [Media Router] Check MediaRouterDialogControllerImpl only sets toolbar MediaRouterAction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes per pkasting@'s comments. Created 5 years 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/toolbar/toolbar_actions_model.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model.cc b/chrome/browser/ui/toolbar/toolbar_actions_model.cc
index 23f6dba58867837421bd60f0e998e846164156f3..46c61b67fc4ab351848c8a67b28359e1cd48ea41 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_model.cc
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model.cc
@@ -188,7 +188,7 @@ ToolbarActionsModel::CreateActionForItem(Browser* browser,
case COMPONENT_ACTION: {
DCHECK(use_redesign_);
result = ComponentToolbarActionsFactory::GetInstance()
- ->GetComponentToolbarActionForId(item.id, browser)
+ ->GetComponentToolbarActionForId(item.id, browser, bar)
.Pass();
break;
}

Powered by Google App Engine
This is Rietveld 408576698