diff options
Diffstat (limited to 'ui/views/touchui')
-rw-r--r-- | ui/views/touchui/touch_selection_controller_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc index d2846b8..85f68ef 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), |