Index: chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
index 269f0930aca3f59f7dfcd65dd11fe99fa19c9025..d4a7f3f6b0d55f154fcd43b26c81da6894baabef 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
+++ b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
@@ -10,6 +10,7 @@ |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/render_widget_host_view.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/browser/web_contents_view.h" |
using content::WebContents; |
@@ -60,6 +61,9 @@ using content::WebContents; |
} |
[contentsNativeView setAutoresizingMask:NSViewWidthSizable| |
NSViewHeightSizable]; |
+ // The find bar will overlap the content's view when it comes out; inform |
+ // the view. |
+ contents_->GetView()->SetAllowOverlappingViews(true); |
} |
- (void)changeWebContents:(WebContents*)newContents { |