Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index dcb8112eeaa0b9120b9f5efdfedf6fe352224a9a..8c9eaaef0e2af304f291e0d0bae50a5e43182224 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -3618,6 +3618,9 @@ void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPainti |
|| (!isPaintingScrollingContent && isPaintingCompositedForeground)); |
bool shouldPaintContent = m_hasVisibleContent && isSelfPaintingLayer && !isPaintingOverlayScrollbars; |
+ float deviceScaleFactor = WebCore::deviceScaleFactor(renderer()->frame()); |
+ context->setUseHighResMarkers(deviceScaleFactor > 1.5f); |
+ |
GraphicsContext* transparencyLayerContext = context; |
if (localPaintFlags & PaintLayerPaintingRootBackgroundOnly && !renderer()->isRenderView() && !renderer()->isRoot()) |