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

Unified Diff: third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp

Issue 2922483004: Generate enum/getters/setters/mappings for image-rendering. (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
index a6411b297992cb14fef4eca6dadcf3d7ca13431b..0362d91b90937b9f02a44a13a33e18d2fe2b02ec 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
@@ -56,7 +56,7 @@ void HTMLCanvasPainter::PaintReplaced(const PaintInfo& paint_info,
// is set. See bug for more details: crbug.com/353716.
InterpolationQuality interpolation_quality =
layout_html_canvas_.Style()->ImageRendering() ==
- EImageRendering::kOptimizeContrast
+ EImageRendering::kWebkitOptimizeContrast
? kInterpolationLow
: CanvasDefaultInterpolationQuality;
if (layout_html_canvas_.Style()->ImageRendering() ==
« no previous file with comments | « third_party/WebKit/Source/core/layout/ImageQualityController.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698