| Index: chrome/browser/extensions/tab_helper.cc
|
| diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
|
| index 23900fc388080386a29970940b1c97227d7b1974..52b7656aea8fc58a077adba8575fb31723374270 100644
|
| --- a/chrome/browser/extensions/tab_helper.cc
|
| +++ b/chrome/browser/extensions/tab_helper.cc
|
| @@ -66,9 +66,10 @@ TabHelper::TabHelper(TabContents* tab_contents)
|
| tab_contents->profile()) {
|
| if (switch_utils::AreScriptBadgesEnabled()) {
|
| location_bar_controller_.reset(new ScriptBadgeController(
|
| - tab_contents, &script_executor_));
|
| + tab_contents->web_contents(), &script_executor_));
|
| } else {
|
| - location_bar_controller_.reset(new PageActionController(tab_contents));
|
| + location_bar_controller_.reset(
|
| + new PageActionController(tab_contents->web_contents()));
|
| }
|
| registrar_.Add(this,
|
| content::NOTIFICATION_LOAD_STOP,
|
|
|