Index: views/touchui/touch_selection_controller_impl.cc |
diff --git a/views/touchui/touch_selection_controller_impl.cc b/views/touchui/touch_selection_controller_impl.cc |
index e590216e9bbfeba77b040cca0683637140216d3d..b9cf82db725051e89a85352c3224d44524c48a88 100644 |
--- a/views/touchui/touch_selection_controller_impl.cc |
+++ b/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), |