diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/chromeos/browser_extenders.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/browser_extenders.cc b/chrome/browser/chromeos/browser_extenders.cc index 578586e..e59bbfc 100644 --- a/chrome/browser/chromeos/browser_extenders.cc +++ b/chrome/browser/chromeos/browser_extenders.cc @@ -178,13 +178,9 @@ class NormalExtender : public BrowserExtender, if (compact_navigation_bar_->IsVisible()) { gfx::Size cnb_bounds = compact_navigation_bar_->GetPreferredSize(); - // This (+1/-1) is a quick hack for the bug - // http://code.google.com/p/chromium-os/issues/detail?id=1010 - // while investigating the issue. It could be in gtk or around - // NativeViewHostGtk::CreateFixed, but it will take some time. - compact_navigation_bar_->SetBounds(curx, bounds.y() + 1, + compact_navigation_bar_->SetBounds(curx, bounds.y(), cnb_bounds.width(), - bounds.height() - 1); + bounds.height()); curx += cnb_bounds.width(); width -= cnb_bounds.width(); |