Index: ui/views/touchui/touch_selection_controller_impl.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc |
index 85f68ef6f8380cca1bc5e4caeee63844052f8bc6..9d4aa47f0d27dfcae27d3996a4b7fe33e9a9ac25 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -191,15 +191,15 @@ class ContextMenuButtonBackground : public Background { |
} |
int w = view->width(); |
int h = view->height(); |
- canvas->FillRect(background_color, gfx::Rect(1, 1, w - 2, h - 2)); |
- canvas->FillRect(border_color, gfx::Rect(2, 0, w - 4, 1)); |
- canvas->FillRect(border_color, gfx::Rect(1, 1, 1, 1)); |
- canvas->FillRect(border_color, gfx::Rect(0, 2, 1, h - 4)); |
- canvas->FillRect(border_color, gfx::Rect(1, h - 2, 1, 1)); |
- canvas->FillRect(border_color, gfx::Rect(2, h - 1, w - 4, 1)); |
- canvas->FillRect(border_color, gfx::Rect(w - 2, 1, 1, 1)); |
- canvas->FillRect(border_color, gfx::Rect(w - 1, 2, 1, h - 4)); |
- canvas->FillRect(border_color, gfx::Rect(w - 2, h - 2, 1, 1)); |
+ canvas->FillRect(gfx::Rect(1, 1, w - 2, h - 2), background_color); |
+ canvas->FillRect(gfx::Rect(2, 0, w - 4, 1), border_color); |
+ canvas->FillRect(gfx::Rect(1, 1, 1, 1), border_color); |
+ canvas->FillRect(gfx::Rect(0, 2, 1, h - 4), border_color); |
+ canvas->FillRect(gfx::Rect(1, h - 2, 1, 1), border_color); |
+ canvas->FillRect(gfx::Rect(2, h - 1, w - 4, 1), border_color); |
+ canvas->FillRect(gfx::Rect(w - 2, 1, 1, 1), border_color); |
+ canvas->FillRect(gfx::Rect(w - 1, 2, 1, h - 4), border_color); |
+ canvas->FillRect(gfx::Rect(w - 2, h - 2, 1, 1), border_color); |
} |
private: |