| 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 940a2636de23cc8c0a03af5e5740bb78241af41e..a6411b297992cb14fef4eca6dadcf3d7ca13431b 100644
|
| --- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
|
| @@ -56,10 +56,11 @@ 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() ==
|
| - kImageRenderingOptimizeContrast
|
| + EImageRendering::kOptimizeContrast
|
| ? kInterpolationLow
|
| : CanvasDefaultInterpolationQuality;
|
| - if (layout_html_canvas_.Style()->ImageRendering() == kImageRenderingPixelated)
|
| + if (layout_html_canvas_.Style()->ImageRendering() ==
|
| + EImageRendering::kPixelated)
|
| interpolation_quality = kInterpolationNone;
|
|
|
| InterpolationQuality previous_interpolation_quality =
|
|
|