Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3841)

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_button.cc

Issue 247193002: Remove touch layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/toolbar_button.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc
index fd8d239b7f456d12d05ef0e828a5530891293b5e..bcbacd4dd0e15d01dc7247edff48e8d120306cf0 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc
@@ -50,7 +50,7 @@ gfx::Size ToolbarButton::GetPreferredSize() {
gfx::Size size(image()->GetPreferredSize());
gfx::Size label_size = label()->GetPreferredSize();
if (label_size.width() > 0)
- size.Enlarge(label_size.width() + LocationBarView::GetItemPadding(), 0);
+ size.Enlarge(label_size.width() + LocationBarView::kItemPadding, 0);
return size;
}

Powered by Google App Engine
This is Rietveld 408576698