diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 23:07:42 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 23:07:42 +0000 |
commit | 0d74f1e8fe44154ab7842812443b3138b2993c8c (patch) | |
tree | 11c2f071f68c19b3f25eed9150c1be11864eedc5 /chrome/views/table_view.cc | |
parent | f799dd77cdfe8e5b29236547801f2e89ed0ed079 (diff) | |
download | chromium_src-0d74f1e8fe44154ab7842812443b3138b2993c8c.zip chromium_src-0d74f1e8fe44154ab7842812443b3138b2993c8c.tar.gz chromium_src-0d74f1e8fe44154ab7842812443b3138b2993c8c.tar.bz2 |
Move skia_utils into the skia namespace.
Review URL: http://codereview.chromium.org/14079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/table_view.cc')
-rw-r--r-- | chrome/views/table_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/views/table_view.cc b/chrome/views/table_view.cc index c061951..781f262 100644 --- a/chrome/views/table_view.cc +++ b/chrome/views/table_view.cc @@ -1206,10 +1206,10 @@ LRESULT TableView::OnCustomDraw(NMLVCUSTOMDRAW* draw_info) { custom_cell_font_ = CreateFontIndirect(&logfont); SelectObject(draw_info->nmcd.hdc, custom_cell_font_); draw_info->clrText = foreground.color_is_set - ? gfx::SkColorToCOLORREF(foreground.color) + ? skia::SkColorToCOLORREF(foreground.color) : CLR_DEFAULT; draw_info->clrTextBk = background.color_is_set - ? gfx::SkColorToCOLORREF(background.color) + ? skia::SkColorToCOLORREF(background.color) : CLR_DEFAULT; return CDRF_NEWFONT; } @@ -1259,7 +1259,7 @@ LRESULT TableView::OnCustomDraw(NMLVCUSTOMDRAW* draw_info) { // background (or rather windows paints background, then invokes // this twice). As such, we always fill in the background. canvas.drawColor( - gfx::COLORREFToSkColor(GetSysColor(bg_color_index)), + skia::COLORREFToSkColor(GetSysColor(bg_color_index)), SkPorterDuff::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). |