diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 07:32:38 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 07:32:38 +0000 |
commit | ca5c4e5bd40a8f2f59c53f5a29bcde2591633ee8 (patch) | |
tree | 8082eab2dadce68986de0804e3933cd8fdb6c0cb /views | |
parent | ce1fd4bfd4849008598d679a40ac23082e93b156 (diff) | |
download | chromium_src-ca5c4e5bd40a8f2f59c53f5a29bcde2591633ee8.zip chromium_src-ca5c4e5bd40a8f2f59c53f5a29bcde2591633ee8.tar.gz chromium_src-ca5c4e5bd40a8f2f59c53f5a29bcde2591633ee8.tar.bz2 |
Make the bookmark buttons follow theme changes correctly.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/160092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/controls/button/text_button.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc index 05a1b78..a31f6c9 100644 --- a/views/controls/button/text_button.cc +++ b/views/controls/button/text_button.cc @@ -270,15 +270,6 @@ void TextButton::Paint(gfx::Canvas* canvas, bool for_drag) { l10n_util::DefaultCanvasTextAlignment()); #endif } else { - // Draw bevel highlight - canvas->DrawStringInt(text_, - font_, - color_highlight_, - text_bounds.x() + 1, - text_bounds.y() + 1, - text_bounds.width(), - text_bounds.height()); - canvas->DrawStringInt(text_, font_, color_, |