| 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 97a89ea7ff0673a57716214796165b3c80873092..34de3de1e008cbf218152790323ababffe47ec22 100644
|
| --- a/chrome/browser/ui/views/find_bar_host.cc
|
| +++ b/chrome/browser/ui/views/find_bar_host.cc
|
| @@ -365,3 +365,10 @@ void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) {
|
| find_bar_controller_->web_contents()->GetViewBounds();
|
| avoid_overlapping_rect->Offset(0, webcontents_rect.y() - frame_rect.y());
|
| }
|
| +
|
| +void FindBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
|
| + bool no_redraw) {
|
| + if (!host()->IsVisible())
|
| + host()->Show();
|
| + host()->SetBounds(new_pos);
|
| +}
|
|
|