| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 7624d3559af7110298088b32ffbb7c45a4b3c7b2..eb48a0c2f7d3ad6bb64d350b5536b3d8d0067ee8 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -1690,7 +1690,13 @@ bool Internals::isUnclippedDescendant(Element* element, ExceptionState& exceptio
|
| return 0;
|
| }
|
|
|
| - return layer->isUnclippedDescendant();
|
| + // We used to compute isUnclippedDescendant only when acceleratedCompositingForOverflowScrollEnabled,
|
| + // but now we compute it all the time.
|
| + // FIXME: Remove this if statement and rebaseline the tests that make this assumption.
|
| + if (!layer->compositor()->acceleratedCompositingForOverflowScrollEnabled())
|
| + return false;
|
| +
|
| + return layer->ancestorDependentProperties().isUnclippedDescendant;
|
| }
|
|
|
| String Internals::layerTreeAsText(Document* document, unsigned flags, ExceptionState& exceptionState) const
|
|
|