| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 219d0f355aac039fbf5846da229643835c6f3ec9..232ee9c6be2c18b681499f0b59a1185406364783 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -435,6 +435,13 @@ void CompositedLayerMapping::updateContentsOpaque() {
|
| }
|
| }
|
|
|
| +void CompositedLayerMapping::updateRasterizationPolicy() {
|
| + bool allowTransformedRasterization = !requiresCompositing(m_owningLayer.getCompositingReasons() & ~CompositingReasonSquashingDisallowed);
|
| + m_graphicsLayer->contentLayer()->setAllowTransformedRasterization(allowTransformedRasterization);
|
| + if (m_squashingLayer)
|
| + m_squashingLayer->contentLayer()->setAllowTransformedRasterization(true);
|
| +}
|
| +
|
| void CompositedLayerMapping::updateCompositedBounds() {
|
| ASSERT(m_owningLayer.compositor()->lifecycle().state() ==
|
| DocumentLifecycle::InCompositingUpdate);
|
| @@ -997,6 +1004,7 @@ void CompositedLayerMapping::updateGraphicsLayerGeometry(
|
| updateElementIdAndCompositorMutableProperties();
|
| updateBackgroundPaintsOntoScrollingContentsLayer();
|
| updateContentsOpaque();
|
| + updateRasterizationPolicy();
|
| updateAfterPartResize();
|
| updateRenderingContext();
|
| updateShouldFlattenTransform();
|
|
|