Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: ui/message_center/views/proportional_image_view.cc

Issue 271653003: Scrub deprecated Skia APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/proportional_image_view.cc
diff --git a/ui/message_center/views/proportional_image_view.cc b/ui/message_center/views/proportional_image_view.cc
index daf92dc052e701c6fcea25227583dfb780451b71..a1afd2eebed2f2eccc9671d2d1e4c56ce78ffbd0 100644
--- a/ui/message_center/views/proportional_image_view.cc
+++ b/ui/message_center/views/proportional_image_view.cc
@@ -38,7 +38,7 @@ void ProportionalImageView::OnPaint(gfx::Canvas* canvas) {
canvas->DrawImageInt(image_, draw_bounds.x(), draw_bounds.y());
} else {
SkPaint paint;
- paint.setFilterBitmap(true);
+ paint.setFilterLevel(SkPaint::kLow_FilterLevel);
// This call resizes the image while drawing into the canvas.
canvas->DrawImageInt(

Powered by Google App Engine
This is Rietveld 408576698