| Index: chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
| index c961e6e1df2f271f5a1223690da529c3f55681e1..778ce2e133de9981c0c348684018a0b66a264ffa 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
| @@ -17,7 +17,7 @@
|
| #import "chrome/browser/ui/cocoa/extensions/extension_popup_controller.h"
|
| #include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h"
|
| #import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h"
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/extensions/extension_action.h"
|
| #include "chrome/common/extensions/extension_resource.h"
|
| @@ -91,7 +91,7 @@ bool PageActionDecoration::AcceptsMousePress() {
|
| // Either notify listeners or show a popup depending on the Page
|
| // Action.
|
| bool PageActionDecoration::OnMousePressed(NSRect frame) {
|
| - TabContentsWrapper* tab_contents = owner_->GetTabContentsWrapper();
|
| + TabContents* tab_contents = owner_->GetTabContents();
|
| if (!tab_contents) {
|
| // We don't want other code to try and handle this click. Returning true
|
| // prevents this by indicating that we handled it.
|
|
|