Index: views/view.cc |
diff --git a/views/view.cc b/views/view.cc |
index 925a40f342dd3f7f3cdcc206f13499500a0f6840..b218eca4e44547d4ab0f9e3694a1dfcc900adb86 100644 |
--- a/views/view.cc |
+++ b/views/view.cc |
@@ -1079,7 +1079,7 @@ void View::OnPaintBorder(gfx::Canvas* canvas) { |
void View::OnPaintFocusBorder(gfx::Canvas* canvas) { |
if ((IsFocusable() || IsAccessibilityFocusableInRootView()) && HasFocus()) |
- canvas->DrawFocusRect(0, 0, width(), height()); |
+ canvas->DrawFocusRect(gfx::Rect(0, 0, width(), height())); |
Peter Kasting
2011/10/24 22:15:13
Nit: Just pass GetLocalBounds() instead.
(While y
tfarina
2011/10/25 02:04:53
Done.
|
} |
// Accelerated Painting -------------------------------------------------------- |