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

Unified Diff: Source/platform/graphics/GraphicsLayer.cpp

Issue 1013803002: SkPaint::FilterLevel -> SkFilterQuality (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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: Source/platform/graphics/GraphicsLayer.cpp
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
index c0216a770ce1c43bf129097bfae884b230cb3039..d88b2d6d6e95e12848366770d9e8cbe3aa7a4b47 100644
--- a/Source/platform/graphics/GraphicsLayer.cpp
+++ b/Source/platform/graphics/GraphicsLayer.cpp
@@ -1087,10 +1087,10 @@ void GraphicsLayer::setFilters(const FilterOperations& filters)
m_layer->layer()->setFilters(*webFilters);
}
-void GraphicsLayer::setFilterLevel(SkPaint::FilterLevel filterLevel)
+void GraphicsLayer::setFilterQuality(SkFilterQuality filterQuality)
{
if (m_imageLayer)
- m_imageLayer->setNearestNeighbor(filterLevel == SkPaint::kNone_FilterLevel);
+ m_imageLayer->setNearestNeighbor(filterQuality == kNone_SkFilterQuality);
}
void GraphicsLayer::setPaintingPhase(GraphicsLayerPaintingPhase phase)

Powered by Google App Engine
This is Rietveld 408576698