| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| index ea794aa56dfc9db07773af5288e5e9f8c2d2673d..88810a5f244814cc899e3b47a57a67c720910723 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| @@ -2108,7 +2108,7 @@ private:
|
|
|
| @end
|
|
|
| -NSView* GetSheetParentViewForTabContents(TabContents* tab_contents) {
|
| +NSView* GetSheetParentViewForWebContents(WebContents* web_contents) {
|
| // View hierarchy of the contents view:
|
| // NSView -- switchView, same for all tabs
|
| // +- NSView -- TabContentsController's view
|
| @@ -2116,5 +2116,5 @@ NSView* GetSheetParentViewForTabContents(TabContents* tab_contents) {
|
| //
|
| // Changing it? Do not forget to modify
|
| // -[TabStripController swapInTabAtIndex:] too.
|
| - return [tab_contents->web_contents()->GetNativeView() superview];
|
| + return [web_contents->GetNativeView() superview];
|
| }
|
|
|