Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 97918e248ea658cf6e3bfff9937efee4b66c177d..84c043374199f8ff285e0b4915f3978f412f14e3 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -482,6 +482,7 @@ void HTMLCanvasElement::createImageBuffer() |
} |
m_imageBuffer->context()->setShouldClampToSourceRect(false); |
+ m_imageBuffer->context()->disableAntialiasingOptimizationForHairlineImages(); |
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 |