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

Unified Diff: chrome/browser/extensions/extension_toolbar_model.cc

Issue 50433008: Dispatch browser action clicks to the profile for the browser window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (c) Created 7 years, 1 month 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/extensions/extension_toolbar_model.cc
diff --git a/chrome/browser/extensions/extension_toolbar_model.cc b/chrome/browser/extensions/extension_toolbar_model.cc
index a3a61e6d0fef3feef5e5d46e91118a0a39bb26dc..34049e08100a407dbf51067cef2a2bd39d0cd612 100644
--- a/chrome/browser/extensions/extension_toolbar_model.cc
+++ b/chrome/browser/extensions/extension_toolbar_model.cc
@@ -163,7 +163,7 @@ ExtensionToolbarModel::Action ExtensionToolbarModel::ExecuteBrowserAction(
}
extensions::ExtensionActionAPI::BrowserActionExecuted(
- service_->profile(), *browser_action, web_contents);
+ browser->profile(), *browser_action, web_contents);
return ACTION_NONE;
}

Powered by Google App Engine
This is Rietveld 408576698