summaryrefslogtreecommitdiffstats
path: root/views/controls/table
diff options
context:
space:
mode:
authoramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 01:24:40 +0000
committeramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 01:24:40 +0000
commitf808dd458cc05ad47de5448669daaeae6bb236c9 (patch)
treebd005cd63cf710ee3ced1277bada972bfe28c2a7 /views/controls/table
parente5441500d6c21fc92d56af2425be140d1c17fce5 (diff)
downloadchromium_src-f808dd458cc05ad47de5448669daaeae6bb236c9.zip
chromium_src-f808dd458cc05ad47de5448669daaeae6bb236c9.tar.gz
chromium_src-f808dd458cc05ad47de5448669daaeae6bb236c9.tar.bz2
Update Skia transfer modes to match changes in Skia as of r239
Review URL: http://codereview.chromium.org/146131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/table')
-rw-r--r--views/controls/table/table_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/table/table_view.cc b/views/controls/table/table_view.cc
index e0d0b55..f1e63e3 100644
--- a/views/controls/table/table_view.cc
+++ b/views/controls/table/table_view.cc
@@ -840,7 +840,7 @@ HWND TableView::CreateNativeControl(HWND parent_container) {
// rect does not include the icon).
gfx::Canvas canvas(kImageSize, kImageSize, false);
// Make the background completely transparent.
- canvas.drawColor(SK_ColorBLACK, SkPorterDuff::kClear_Mode);
+ canvas.drawColor(SK_ColorBLACK, SkXfermode::kClear_Mode);
HICON empty_icon =
IconUtil::CreateHICONFromSkBitmap(canvas.ExtractBitmap());
ImageList_AddIcon(image_list, empty_icon);
@@ -1234,7 +1234,7 @@ LRESULT TableView::OnCustomDraw(NMLVCUSTOMDRAW* draw_info) {
// this twice). As such, we always fill in the background.
canvas.drawColor(
skia::COLORREFToSkColor(GetSysColor(bg_color_index)),
- SkPorterDuff::kSrc_Mode);
+ SkXfermode::kSrc_Mode);
// + 1 for padding (we declared the image as 18x18 in the list-
// view when they are 16x16 so we get an extra pixel of padding).
canvas.DrawBitmapInt(image, 0, 0,