summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/browser_extenders.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 18:33:59 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 18:33:59 +0000
commit819ee2b26aded9c040a99a1ee55289a1ea571e80 (patch)
tree425381176a0bda590cd579b16916616666bb45b3 /chrome/browser/chromeos/browser_extenders.cc
parent12f520c53db26ec0dc45f263904d8995e809e800 (diff)
downloadchromium_src-819ee2b26aded9c040a99a1ee55289a1ea571e80.zip
chromium_src-819ee2b26aded9c040a99a1ee55289a1ea571e80.tar.gz
chromium_src-819ee2b26aded9c040a99a1ee55289a1ea571e80.tar.bz2
Reverting workaround for focus issue in WidgetGtk.
BUG=chromium-os:1010 TEST=None Review URL: http://codereview.chromium.org/527004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/browser_extenders.cc')
-rw-r--r--chrome/browser/chromeos/browser_extenders.cc8
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();