| 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 80362d805cfa8e3a0007e738ceb4056e012aab69..faf68e400397fb3d2afb46e2f51c2174b088b686 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
| @@ -585,7 +585,8 @@ bool PaintArtifactCompositor::canMergeInto(
|
| for (const PropertyTreeState* currentState =
|
| &newChunk.properties.propertyTreeState;
|
| currentState; currentState = iterator.next()) {
|
| - if (*currentState == candidatePendingLayer.propertyTreeState)
|
| + if (currentState->equivalentGeometry(
|
| + candidatePendingLayer.propertyTreeState))
|
| return true;
|
| if (currentState->hasDirectCompositingReasons())
|
| return false;
|
|
|