| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 4ea22121fa982da6aa7d0e3754e0d820cd904e05..f25930e0ab604ebb22abf0e8d9afc8f76f360279 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -303,7 +303,7 @@ bool HTMLCanvasElement::paintsIntoCanvasBuffer() const
|
| }
|
|
|
|
|
| -void HTMLCanvasElement::paint(GraphicsContext* context, const LayoutRect& r, bool useLowQualityScale)
|
| +void HTMLCanvasElement::paint(GraphicsContext* context, const LayoutRect& r)
|
| {
|
| // Clear the dirty rect
|
| m_dirtyRect = FloatRect();
|
| @@ -322,9 +322,9 @@ void HTMLCanvasElement::paint(GraphicsContext* context, const LayoutRect& r, boo
|
| if (imageBuffer) {
|
| CompositeOperator compositeOperator = !m_context || m_context->hasAlpha() ? CompositeSourceOver : CompositeCopy;
|
| if (m_presentedImage)
|
| - context->drawImage(m_presentedImage.get(), pixelSnappedIntRect(r), compositeOperator, DoNotRespectImageOrientation, useLowQualityScale);
|
| + context->drawImage(m_presentedImage.get(), pixelSnappedIntRect(r), compositeOperator, DoNotRespectImageOrientation);
|
| else
|
| - context->drawImageBuffer(imageBuffer, pixelSnappedIntRect(r), compositeOperator, blink::WebBlendModeNormal, useLowQualityScale);
|
| + context->drawImageBuffer(imageBuffer, pixelSnappedIntRect(r), compositeOperator, blink::WebBlendModeNormal);
|
| }
|
| }
|
|
|
| @@ -482,7 +482,7 @@ void HTMLCanvasElement::createImageBuffer()
|
| }
|
|
|
| m_imageBuffer->context()->setShouldClampToSourceRect(false);
|
| - m_imageBuffer->context()->setImageInterpolationQuality(DefaultInterpolationQuality);
|
| + m_imageBuffer->context()->setImageInterpolationQuality(CanvasDefaultInterpolationQuality);
|
| // Enabling MSAA overrides a request to disable antialiasing. This is true regardless of whether the
|
| // rendering mode is accelerated or not. For consistency, we don't want to apply AA in accelerated
|
| // canvases but not in unaccelerated canvases.
|
|
|