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

Unified Diff: Source/platform/graphics/skia/SkiaUtils.h

Issue 1236363003: Drop WebCoreInterpolationQualityToSkFilterQuality (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Space Created 5 years, 5 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
« no previous file with comments | « Source/platform/graphics/GraphicsContextState.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/skia/SkiaUtils.h
diff --git a/Source/platform/graphics/skia/SkiaUtils.h b/Source/platform/graphics/skia/SkiaUtils.h
index 209e4d492077be3f5b22c92ef1e3d2d76cc6c7e5..e2d1977d9f2f0243e2e7b632cc72c5f2be6ccc35 100644
--- a/Source/platform/graphics/skia/SkiaUtils.h
+++ b/Source/platform/graphics/skia/SkiaUtils.h
@@ -61,13 +61,6 @@ SkColor PLATFORM_EXPORT scaleAlpha(SkColor, float);
// alpha is in the range [0, 256].
SkColor PLATFORM_EXPORT scaleAlpha(SkColor, int);
-inline SkFilterQuality WebCoreInterpolationQualityToSkFilterQuality(InterpolationQuality quality)
-{
- // FIXME: this reflects existing client mappings, but should probably
- // be expanded to map higher level interpolations more accurately.
- return quality != InterpolationNone ? kLow_SkFilterQuality : kNone_SkFilterQuality;
-}
-
// Skia has problems when passed infinite, etc floats, filter them to 0.
inline SkScalar WebCoreFloatToSkScalar(float f)
{
« no previous file with comments | « Source/platform/graphics/GraphicsContextState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698