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 d297fa7811d83d6649fe85d4b1f3166bb4fcd398..b18a9d88dff5df80678cd1224ed804fd6de1d9e4 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -276,7 +276,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView |
paint.setStyle(SkPaint::kFill_Style); |
paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
- canvas->DrawRectInt(0, 0, width(), height(), paint); |
+ canvas->DrawRect(GetLocalBounds(), paint); |
#else |
// This is the same as COLOR_TOOLBAR. |
canvas->GetSkCanvas()->drawColor(SkColorSetRGB(210, 225, 246), |