| Index: chrome/browser/ui/toolbar/component_toolbar_actions_factory.cc
|
| diff --git a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.cc b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.cc
|
| index 0c450600eef95eaefa87d5941c57025b458a89ca..037a85d14191917b675b0f7b9ee877a2fd0fea69 100644
|
| --- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.cc
|
| +++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.cc
|
| @@ -55,7 +55,8 @@ std::set<std::string> ComponentToolbarActionsFactory::GetComponentIds(
|
| scoped_ptr<ToolbarActionViewController>
|
| ComponentToolbarActionsFactory::GetComponentToolbarActionForId(
|
| const std::string& id,
|
| - Browser* browser) {
|
| + Browser* browser,
|
| + ToolbarActionsBar* bar) {
|
| // This is currently behind the extension-action-redesign flag, as it is
|
| // designed for the new toolbar.
|
| DCHECK(extensions::FeatureSwitch::extension_action_redesign()->IsEnabled());
|
| @@ -70,7 +71,7 @@ ComponentToolbarActionsFactory::GetComponentToolbarActionForId(
|
| #if defined(ENABLE_MEDIA_ROUTER)
|
| if (id == kMediaRouterActionId)
|
| return scoped_ptr<ToolbarActionViewController>(
|
| - new MediaRouterAction(browser));
|
| + new MediaRouterAction(browser, bar));
|
| #endif // defined(ENABLE_MEDIA_ROUTER)
|
|
|
| NOTREACHED();
|
|
|