summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 02:29:51 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 02:29:51 +0000
commitbcee07010621d9ccef2c83e7120fb17d7c0fc09f (patch)
treef07fc1181eefa130a5519e1db625328891f248e0
parent536be10ea126937cc05f6e946e1cd8ec169689ac (diff)
downloadchromium_src-bcee07010621d9ccef2c83e7120fb17d7c0fc09f.zip
chromium_src-bcee07010621d9ccef2c83e7120fb17d7c0fc09f.tar.gz
chromium_src-bcee07010621d9ccef2c83e7120fb17d7c0fc09f.tar.bz2
Quick fix regression from previous change to toolbar - forgot to take into account the width of the Go button when sizing the location bar so that the last button on the toolbar (the app menu) spilled off the end.
TBR=glen git-svn-id: svn://svn.chromium.org/chrome/trunk/src@774 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/views/toolbar_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc
index 72b9ce8..476318d 100644
--- a/chrome/browser/views/toolbar_view.cc
+++ b/chrome/browser/views/toolbar_view.cc
@@ -329,6 +329,7 @@ void BrowserToolbarView::Layout() {
go_->GetPreferredSize(&sz);
location_bar_height = sz.cy;
+ right_side_width += sz.cx;
left_side_width = star_->GetX() + star_->GetWidth();
} else {