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 18d5d0ad0ed5dbf9f8bf0312067f0a7ce6c9e8ec..a330cb592343bff56ecce39f56e7bec12c25a278 100644 |
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
| @@ -276,6 +276,9 @@ PaintResult PaintLayerPainter::paintLayerContents( |
| properties.effect = localBorderBoxProperties.propertyTreeState.effect(); |
| properties.backfaceHidden = |
| m_paintLayer.layoutObject()->hasHiddenBackface(); |
| + properties.willChangeTransform = |
| + m_paintLayer.layoutObject()->styleRef().hasWillChangeCompositingHint(); |
| + |
| scopedPaintChunkProperties.emplace(context.getPaintController(), |
| m_paintLayer, properties); |
| } |
| @@ -488,6 +491,10 @@ PaintResult PaintLayerPainter::paintLayerContents( |
| properties.effect = localBorderBoxProperties.propertyTreeState.effect(); |
| properties.backfaceHidden = |
| m_paintLayer.layoutObject()->hasHiddenBackface(); |
| + properties.willChangeTransform = m_paintLayer.layoutObject() |
|
trchen
2016/12/13 22:46:01
I think this is not quite right. For example:
<di
|
| + ->styleRef() |
| + .hasWillChangeCompositingHint(); |
| + |
| contentScopedPaintChunkProperties.emplace(context.getPaintController(), |
| m_paintLayer, properties); |
| } |