diff options
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/bookmark_manager_view.cc | 2 | ||||
-rw-r--r-- | chrome/browser/views/download_item_view.cc | 4 | ||||
-rw-r--r-- | chrome/browser/views/tabs/tab_renderer.cc | 2 | ||||
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.cc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/views/bookmark_manager_view.cc b/chrome/browser/views/bookmark_manager_view.cc index e85c8a2..3582b86 100644 --- a/chrome/browser/views/bookmark_manager_view.cc +++ b/chrome/browser/views/bookmark_manager_view.cc @@ -325,7 +325,7 @@ std::vector<BookmarkNode*> BookmarkManagerView::GetSelectedTableNodes() { } void BookmarkManagerView::PaintBackground(gfx::Canvas* canvas) { - canvas->drawColor(kBackgroundColorBottom, SkPorterDuff::kSrc_Mode); + canvas->drawColor(kBackgroundColorBottom, SkXfermode::kSrc_Mode); SkPaint paint; paint.setShader(skia::CreateGradientShader(0, kBackgroundGradientHeight, diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc index 5640b18..95dc81b 100644 --- a/chrome/browser/views/download_item_view.cc +++ b/chrome/browser/views/download_item_view.cc @@ -505,7 +505,7 @@ void DownloadItemView::Paint(gfx::Canvas* canvas) { canvas->saveLayerAlpha(NULL, static_cast<int>(body_hover_animation_->GetCurrentValue() * 255), SkCanvas::kARGB_NoClipLayer_SaveFlag); - canvas->drawARGB(0, 255, 255, 255, SkPorterDuff::kClear_Mode); + canvas->drawARGB(0, 255, 255, 255, SkXfermode::kClear_Mode); int x = kLeftPadding; PaintBitmaps(canvas, @@ -547,7 +547,7 @@ void DownloadItemView::Paint(gfx::Canvas* canvas) { canvas->saveLayerAlpha(NULL, static_cast<int>(drop_hover_animation_->GetCurrentValue() * 255), SkCanvas::kARGB_NoClipLayer_SaveFlag); - canvas->drawARGB(0, 255, 255, 255, SkPorterDuff::kClear_Mode); + canvas->drawARGB(0, 255, 255, 255, SkXfermode::kClear_Mode); PaintBitmaps(canvas, drop_down_image_set->top, drop_down_image_set->center, diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc index a65662f..5481387 100644 --- a/chrome/browser/views/tabs/tab_renderer.cc +++ b/chrome/browser/views/tabs/tab_renderer.cc @@ -571,7 +571,7 @@ void TabRenderer::PaintTabBackground(gfx::Canvas* canvas) { canvas->saveLayerAlpha(&bounds, static_cast<int>(animation->GetCurrentValue() * kHoverOpacity * 0xff), SkCanvas::kARGB_ClipLayer_SaveFlag); - canvas->drawARGB(0, 255, 255, 255, SkPorterDuff::kClear_Mode); + canvas->drawARGB(0, 255, 255, 255, SkXfermode::kClear_Mode); PaintActiveTabBackground(canvas); canvas->restore(); } diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc index 5bc1b0f..dea00aa 100644 --- a/chrome/browser/views/tabs/tab_strip.cc +++ b/chrome/browser/views/tabs/tab_strip.cc @@ -617,7 +617,7 @@ void TabStrip::PaintChildren(gfx::Canvas* canvas) { // Make sure unselected tabs are somewhat transparent. SkPaint paint; paint.setColor(SkColorSetARGB(200, 255, 255, 255)); - paint.setXfermode(SkXfermode::kDstIn_Mode); + paint.setXfermodeMode(SkXfermode::kDstIn_Mode); paint.setStyle(SkPaint::kFill_Style); canvas->FillRectInt( 0, 0, width(), |