| Index: chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 19587)
|
| +++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy)
|
| @@ -48,12 +48,15 @@
|
| new RenderWidgetHostViewMac(render_widget_host);
|
|
|
| // Fancy layout comes later; for now just make it our size and resize it
|
| - // with us.
|
| + // with us. In case there are other siblings of the content area, we want
|
| + // to make sure the content area is on the bottom so other things draw over
|
| + // it.
|
| NSView* view_view = view->native_view();
|
| - [cocoa_view_.get() addSubview:view_view];
|
| [view_view setFrame:[cocoa_view_.get() bounds]];
|
| [view_view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
|
| -
|
| + [cocoa_view_.get() addSubview:view_view
|
| + positioned:NSWindowBelow
|
| + relativeTo:nil];
|
| return view;
|
| }
|
|
|
|
|