| Index: chrome/browser/extensions/tab_helper.cc
|
| diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
|
| index 48291c6c539dd83786ca30d95c83810468084390..a38cfcc7be0fad023af7830033e3c5527a8b3e44 100644
|
| --- a/chrome/browser/extensions/tab_helper.cc
|
| +++ b/chrome/browser/extensions/tab_helper.cc
|
| @@ -19,7 +19,7 @@
|
| #include "chrome/browser/ui/web_applications/web_app_ui.h"
|
| #include "chrome/browser/web_applications/web_app.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| -#include "chrome/common/extensions/extension_action.h"
|
| +#include "chrome/browser/extensions/extension_action.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/extensions/extension_icon_set.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| @@ -160,7 +160,7 @@ void TabHelper::DidNavigateMainFrame(
|
|
|
| for (ExtensionSet::const_iterator it = service->extensions()->begin();
|
| it != service->extensions()->end(); ++it) {
|
| - ExtensionAction* browser_action = (*it)->browser_action();
|
| + ExtensionAction* browser_action = GetBrowserAction(profile, **it);
|
| if (browser_action) {
|
| browser_action->ClearAllValuesForTab(
|
| SessionID::IdForTab(tab_contents_->web_contents()));
|
|
|