diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-08 02:55:12 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-08 02:55:12 +0000 |
commit | 067b9286c41061489ed97167d69cbe6801cd09ef (patch) | |
tree | 8f01d1c7e482f33bd9d28eab95d62e1a0e07e45a /chrome | |
parent | 810a52ef77564f1674a600317175743176bcc965 (diff) | |
download | chromium_src-067b9286c41061489ed97167d69cbe6801cd09ef.zip chromium_src-067b9286c41061489ed97167d69cbe6801cd09ef.tar.gz chromium_src-067b9286c41061489ed97167d69cbe6801cd09ef.tar.bz2 |
Revert "Reverting workaround for focus issue in WidgetGtk."
Spoke too soon. It's still crashing.
This reverts commit 005f42a518774136337cd4be88431f21c50aba68.
BUG=chromium-os:1010
TEST=None
TBR=sky@chromium.org
Review URL: http://codereview.chromium.org/518077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/chromeos/browser_extenders.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/browser_extenders.cc b/chrome/browser/chromeos/browser_extenders.cc index e59bbfc..578586e 100644 --- a/chrome/browser/chromeos/browser_extenders.cc +++ b/chrome/browser/chromeos/browser_extenders.cc @@ -178,9 +178,13 @@ class NormalExtender : public BrowserExtender, if (compact_navigation_bar_->IsVisible()) { gfx::Size cnb_bounds = compact_navigation_bar_->GetPreferredSize(); - compact_navigation_bar_->SetBounds(curx, bounds.y(), + // 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, cnb_bounds.width(), - bounds.height()); + bounds.height() - 1); curx += cnb_bounds.width(); width -= cnb_bounds.width(); |