From ca5c4e5bd40a8f2f59c53f5a29bcde2591633ee8 Mon Sep 17 00:00:00 2001 From: "glen@chromium.org" Date: Fri, 24 Jul 2009 07:32:38 +0000 Subject: 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 --- views/controls/button/text_button.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'views') 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_, -- cgit v1.1