diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-17 16:31:31 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-17 16:31:31 +0000 |
commit | 3acc642339a305cb5fd1f3f3b485c3df2bfd4155 (patch) | |
tree | 9b20bf1c3f3238ec9a9b40c1277fb989d198f5aa /ui/views/touchui | |
parent | 08610101320e903c398cea854bd8ad66e361aebc (diff) | |
download | chromium_src-3acc642339a305cb5fd1f3f3b485c3df2bfd4155.zip chromium_src-3acc642339a305cb5fd1f3f3b485c3df2bfd4155.tar.gz chromium_src-3acc642339a305cb5fd1f3f3b485c3df2bfd4155.tar.bz2 |
ui/gfx: Convert Canvas::DrawRectInt() to use gfx::Rect.
This is the 2 attempt, as the first patch was reverted by rsleevi at crrev.com/111323
BUG=100898
R=pkasting@chromium.org
TBR=ben@chromium.org,mirandac@chromium.org
Review URL: http://codereview.chromium.org/8983004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114925 0039d316-1c4b-4281-b951-d872f2087c98
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), |