| Index: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
| index 8e811bf0f93badfb6929d77332b80e14d94905fa..51f76d8ca7330c0bb4d58f71307be61f14777a1c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
| @@ -316,6 +316,7 @@ int PropertyTreeManager::compositorIdForClipNode(const ClipPaintPropertyNode* cl
|
| compositorNode.clip = clipNode->clipRect().rect();
|
| compositorNode.transform_id = compositorIdForTransformNode(clipNode->localTransformSpace());
|
| compositorNode.target_transform_id = kRealRootNodeId;
|
| + compositorNode.target_effect_id = kSecondaryRootNodeId;
|
| compositorNode.applies_local_clip = true;
|
| compositorNode.layers_are_clipped = true;
|
| compositorNode.layers_are_clipped_when_surfaces_disabled = true;
|
| @@ -403,6 +404,7 @@ void PropertyTreeManager::buildEffectNodesRecursively(const EffectPaintPropertyN
|
| dummyClip.owner_id = dummyLayer->id();
|
| dummyClip.transform_id = kRealRootNodeId;
|
| dummyClip.target_transform_id = kRealRootNodeId;
|
| + dummyClip.target_effect_id = kSecondaryRootNodeId;
|
|
|
| cc::EffectNode& effectNode = *effectTree().Node(effectTree().Insert(cc::EffectNode(), compositorIdForCurrentEffectNode()));
|
| effectNode.owner_id = dummyLayer->id();
|
| @@ -474,6 +476,7 @@ void PaintArtifactCompositor::update(const PaintArtifact& paintArtifact)
|
| // Mark the property trees as having been rebuilt.
|
| host->GetLayerTree()->property_trees()->sequence_number = kPropertyTreeSequenceNumber;
|
| host->GetLayerTree()->property_trees()->needs_rebuild = false;
|
| + host->GetLayerTree()->property_trees()->ResetCachedData();
|
| }
|
|
|
| } // namespace blink
|
|
|