| Index: chrome/browser/extensions/page_action_controller.cc
|
| diff --git a/chrome/browser/extensions/page_action_controller.cc b/chrome/browser/extensions/page_action_controller.cc
|
| index e6ba8dc8aee6b2fb47e4dfe1a3c05d5d6d29ad2d..162840f3bfea5448acfac1e3050bdff50f46236c 100644
|
| --- a/chrome/browser/extensions/page_action_controller.cc
|
| +++ b/chrome/browser/extensions/page_action_controller.cc
|
| @@ -94,10 +94,9 @@ void PageActionController::DidNavigateMainFrame(
|
| if (current_actions.empty())
|
| return;
|
|
|
| - TabContents* tab_contents = TabContents::FromWebContents(web_contents());
|
| for (size_t i = 0; i < current_actions.size(); ++i) {
|
| current_actions[i]->ClearAllValuesForTab(
|
| - SessionID::IdForTab(tab_contents));
|
| + SessionID::IdForTab(web_contents()));
|
| }
|
|
|
| NotifyChange();
|
|
|