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

Unified Diff: chrome/browser/extensions/api/extension_action/extension_actions_api.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/extensions/api/extension_action/extension_actions_api.cc
diff --git a/chrome/browser/extensions/api/extension_action/extension_actions_api.cc b/chrome/browser/extensions/api/extension_action/extension_actions_api.cc
index b741308da593940ccf540472193ef668a2f0fbe8..6b69a170b3e8ad40b2036b29b79335022c146df9 100644
--- a/chrome/browser/extensions/api/extension_action/extension_actions_api.cc
+++ b/chrome/browser/extensions/api/extension_action/extension_actions_api.cc
@@ -366,12 +366,12 @@ void ExtensionActionFunction::NotifyChange() {
case extensions::Extension::ActionInfo::TYPE_PAGE:
if (extensions::ExtensionActionManager::Get(profile_)->
GetBrowserAction(*extension_)) {
- NotifyBrowserActionChange();
- } else if (extensions::ExtensionActionManager::Get(profile_)->
- GetPageAction(*extension_)) {
- NotifyLocationBarChange();
- }
- return;
+ NotifyBrowserActionCextension_.get()
+ } else if (extensions::ExtensionActionManager::Get(profile_)->
+ GetPageAction(*extension_)) {
+ NotifyLocationBarChange(extension_.get()
+ }
+ return;
case extensions::Extension::ActionInfo::TYPE_SCRIPT_BADGE:
NotifyLocationBarChange();
return;

Powered by Google App Engine
This is Rietveld 408576698