diff options
Diffstat (limited to 'chrome/browser/views/find_bar_win.cc')
-rw-r--r-- | chrome/browser/views/find_bar_win.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/views/find_bar_win.cc b/chrome/browser/views/find_bar_win.cc index 1633981..d0c0889 100644 --- a/chrome/browser/views/find_bar_win.cc +++ b/chrome/browser/views/find_bar_win.cc @@ -482,11 +482,7 @@ void FindBarWin::GetDialogBounds(gfx::Rect* bounds) { // Find the dimensions of the toolbar and the BookmarkBar. gfx::Rect toolbar_bounds, bookmark_bar_bounds; if (toolbar) { - if (!g_browser_process->IsUsingNewFrames()) { - toolbar_bounds = toolbar->bounds(); - } else { - toolbar_bounds = toolbar->GetLocalBounds(false); - } + toolbar_bounds = toolbar->GetLocalBounds(false); // Need to convert toolbar bounds into Container coords because the toolbar // is the child of another view that isn't the top level view. This is // required to ensure correct positioning relative to the top,left of the |