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

Unified Diff: Source/platform/graphics/GraphicsTypes.h

Issue 328453004: Replace ResamplingMode with InterpolationQuality. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: backpedal Created 6 years, 6 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 | « no previous file | Source/platform/graphics/skia/NativeImageSkia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsTypes.h
diff --git a/Source/platform/graphics/GraphicsTypes.h b/Source/platform/graphics/GraphicsTypes.h
index 6eecfc7363df8c954311f1082db304585aec40c2..b0938f3fe273986b6d1c882abf5e62eddae96f95 100644
--- a/Source/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -43,10 +43,10 @@ enum StrokeStyle {
};
enum InterpolationQuality {
- InterpolationNone,
- InterpolationLow,
- InterpolationMedium,
- InterpolationHigh,
+ InterpolationNone = SkPaint::kNone_FilterLevel,
+ InterpolationLow = SkPaint::kLow_FilterLevel,
+ InterpolationMedium = SkPaint::kMedium_FilterLevel,
+ InterpolationHigh = SkPaint::kHigh_FilterLevel,
#if USE(LOW_QUALITY_IMAGE_INTERPOLATION)
InterpolationDefault = InterpolationLow,
#else
« no previous file with comments | « no previous file | Source/platform/graphics/skia/NativeImageSkia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698