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

Unified Diff: chrome/browser/chromeos/drop_shadow_label.cc

Issue 8359029: ui/gfx: Convert Canvas::DrawFocusRect() to use gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Peter's review Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/views/dropdown_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drop_shadow_label.cc
diff --git a/chrome/browser/chromeos/drop_shadow_label.cc b/chrome/browser/chromeos/drop_shadow_label.cc
index 5be5e93adaeb7e7ba48800995a6dee2f10ff18b0..8ea602c6de9e9082b88a59540519cb9aefca26cc 100644
--- a/chrome/browser/chromeos/drop_shadow_label.cc
+++ b/chrome/browser/chromeos/drop_shadow_label.cc
@@ -54,8 +54,7 @@ void DropShadowLabel::PaintText(gfx::Canvas* canvas,
gfx::Rect focus_bounds = text_bounds;
focus_bounds.Inset(-Label::kFocusBorderPadding,
-Label::kFocusBorderPadding);
- canvas->DrawFocusRect(focus_bounds.x(), focus_bounds.y(),
- focus_bounds.width(), focus_bounds.height());
+ canvas->DrawFocusRect(focus_bounds);
}
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/views/dropdown_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698