diff options
Diffstat (limited to 'chrome/browser/ui/cocoa/constrained_window_mac.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/constrained_window_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/constrained_window_mac.mm b/chrome/browser/ui/cocoa/constrained_window_mac.mm index ddb038b..e06c6c5 100644 --- a/chrome/browser/ui/cocoa/constrained_window_mac.mm +++ b/chrome/browser/ui/cocoa/constrained_window_mac.mm @@ -7,8 +7,8 @@ #import "chrome/browser/ui/cocoa/browser_window_controller.h" #include "chrome/browser/ui/constrained_window_tab_helper.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" -#include "content/browser/tab_contents/tab_contents.h" #include "content/browser/tab_contents/tab_contents_view.h" +#include "content/public/browser/web_contents.h" #import "third_party/GTM/AppKit/GTMWindowSheetController.h" ConstrainedWindowMacDelegateSystemSheet:: @@ -106,7 +106,7 @@ void ConstrainedWindowMac::ShowConstrainedWindow() { // this case, open the sheet now. Else, Realize() will be called later, when // our tab becomes visible. NSWindow* browserWindow = - wrapper_->tab_contents()->GetView()->GetTopLevelNativeWindow(); + wrapper_->web_contents()->GetView()->GetTopLevelNativeWindow(); NSWindowController* controller = [browserWindow windowController]; if (controller != nil) { DCHECK([controller isKindOfClass:[BrowserWindowController class]]); |