| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index bc5fba00020081eb8198303b64ee3ef49a622662..865fd7b5f8d74baa1c5801a4383ab230ad88737b 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -216,6 +216,7 @@ void CompositedLayerMapping::createPrimaryGraphicsLayer()
|
| updateOpacity(renderer()->style());
|
| updateTransform(renderer()->style());
|
| updateFilters(renderer()->style());
|
| + updateHasGpuRasterizationHint(renderer()->style());
|
|
|
| if (RuntimeEnabledFeatures::cssCompositingEnabled()) {
|
| updateLayerBlendMode(renderer()->style());
|
| @@ -293,6 +294,11 @@ void CompositedLayerMapping::updateIsRootForIsolatedGroup()
|
| m_graphicsLayer->setIsRootForIsolatedGroup(isolate);
|
| }
|
|
|
| +void CompositedLayerMapping::updateHasGpuRasterizationHint(const RenderStyle* style)
|
| +{
|
| + m_graphicsLayer->setHasGpuRasterizationHint(style->hasWillChangeGpuRasterizationHint());
|
| +}
|
| +
|
| void CompositedLayerMapping::updateContentsOpaque()
|
| {
|
| // For non-root layers, background is always painted by the primary graphics layer.
|
| @@ -852,6 +858,7 @@ GraphicsLayerUpdater::UpdateType CompositedLayerMapping::updateGraphicsLayerGeom
|
| updateIsRootForIsolatedGroup();
|
| }
|
|
|
| + updateHasGpuRasterizationHint(renderer()->style());
|
| updateContentsRect();
|
| updateBackgroundColor();
|
| updateDrawsContent();
|
|
|