| Index: chrome/browser/ui/views/find_bar_host.cc
|
| diff --git a/chrome/browser/ui/views/find_bar_host.cc b/chrome/browser/ui/views/find_bar_host.cc
|
| index c158e95f505a7da6a6478dcf120a8133b817de64..b631e4836f7e8b304f4012137d0c8e0a22a08d23 100644
|
| --- a/chrome/browser/ui/views/find_bar_host.cc
|
| +++ b/chrome/browser/ui/views/find_bar_host.cc
|
| @@ -268,6 +268,10 @@ gfx::Rect FindBarHost::GetDialogPosition(gfx::Rect avoid_overlapping_rect) {
|
| if (widget_bounds.width() < prefsize.width())
|
| prefsize.set_width(widget_bounds.width());
|
|
|
| + // Don't show the find bar if |widget_bounds| is not tall enough.
|
| + if (widget_bounds.height() < prefsize.height())
|
| + return gfx::Rect();
|
| +
|
| // Place the view in the top right corner of the widget boundaries (top left
|
| // for RTL languages).
|
| gfx::Rect view_location;
|
|
|