summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 20:20:05 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 20:20:05 +0000
commit55a0ffd864ee04c0b76cbed90cb7f00aabed1192 (patch)
tree273b8b46bdd8b2fd7974d6f93802f9fa5fbbd79b /views
parent4fa172e6dbd06f6e2c09d51ce4c7cfd9bb2def89 (diff)
downloadchromium_src-55a0ffd864ee04c0b76cbed90cb7f00aabed1192.zip
chromium_src-55a0ffd864ee04c0b76cbed90cb7f00aabed1192.tar.gz
chromium_src-55a0ffd864ee04c0b76cbed90cb7f00aabed1192.tar.bz2
Convert FillRect(... SkPaint) to DrawRect() since it doesn't necessarily fill, it just draws with the provided paint.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3165032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56589 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu_scroll_view_container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/menu/menu_scroll_view_container.cc b/views/controls/menu/menu_scroll_view_container.cc
index a88f0a4..ff7ff22 100644
--- a/views/controls/menu/menu_scroll_view_container.cc
+++ b/views/controls/menu/menu_scroll_view_container.cc
@@ -217,7 +217,7 @@ void MenuScrollViewContainer::PaintBackground(gfx::Canvas* canvas) {
paint.setStyle(SkPaint::kFill_Style);
paint.setXfermodeMode(SkXfermode::kSrc_Mode);
- canvas->FillRectInt(0, 0, width(), height(), paint);
+ canvas->DrawRectInt(0, 0, width(), height(), paint);
#else
// This is the same as COLOR_TOOLBAR.
canvas->AsCanvasSkia()->drawColor(SkColorSetRGB(210, 225, 246),