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

Unified Diff: skia/ext/opacity_draw_filter.cc

Issue 1011683006: stop using deprecated SkPaint::FilterLevel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: skia/ext/opacity_draw_filter.cc
diff --git a/skia/ext/opacity_draw_filter.cc b/skia/ext/opacity_draw_filter.cc
index 99736f3bf769b3a7450d1049e81a95af178f6f2e..10ed9e8f6c15f06ca3230711a0a71287a912ef85 100644
--- a/skia/ext/opacity_draw_filter.cc
+++ b/skia/ext/opacity_draw_filter.cc
@@ -18,7 +18,7 @@ bool OpacityDrawFilter::filter(SkPaint* paint, Type type) {
if (alpha_ < 255)
paint->setAlpha(alpha_);
if (disable_image_filtering_)
- paint->setFilterLevel(SkPaint::kNone_FilterLevel);
+ paint->setFilterQuality(kNone_SkFilterQuality);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698