Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
| index 1620e00c83d80b1e6f16f8e506d5ffd142c0683d..410ef645fcf0d1303027c2973f8cc6fa744d10f4 100644 |
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
| @@ -320,6 +320,10 @@ PaintResult PaintLayerPainter::paintLayerContents( |
| m_paintLayer.compositingState() == PaintsIntoOwnBacking |
| ? m_paintLayer.subpixelAccumulation() |
| : paintingInfoArg.subPixelAccumulation; |
| + // The composited scrolling contents layer position rounds the subpixel |
| + // accumulation. |
| + if (isPaintingScrollingContent) |
|
chrishtr
2017/04/07 21:03:12
I think you can move the logic determining subpixe
flackr
2017/04/21 03:43:44
Done. The conditional on 320 was strange since it
|
| + subpixelAccumulation = LayoutSize(roundedIntSize(subpixelAccumulation)); |
| ShouldRespectOverflowClipType respectOverflowClip = |
| shouldRespectOverflowClip(paintFlags, m_paintLayer.layoutObject()); |