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

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

Issue 131513005: linux_aura: Use GTK button borders in GTK theme mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgotten Created 6 years, 11 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/back_button.cc
diff --git a/chrome/browser/ui/views/toolbar/back_button.cc b/chrome/browser/ui/views/toolbar/back_button.cc
index 33a07e7086a0a902cbcf1c84d492ee5310808031..05e3bc8545d677bfb1a39a97eba4e0c7c2a2943b 100644
--- a/chrome/browser/ui/views/toolbar/back_button.cc
+++ b/chrome/browser/ui/views/toolbar/back_button.cc
@@ -31,7 +31,7 @@ void BackButton::SetLeadingMargin(int margin) {
const gfx::Insets insets(border->GetInsets());
border->set_insets(gfx::Insets(insets.top(), insets.left() + margin,
insets.bottom(), insets.right()));
- set_border(border);
+ UpdateThemedBorder(border);
// Similarly fiddle the focus border. Value consistent with LabelButton
// and TextButton.

Powered by Google App Engine
This is Rietveld 408576698