| Index: Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| diff --git a/Source/core/layout/compositing/CompositingReasonFinder.cpp b/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| index b67ab287deb037fe0cfac35373bbdb880c2382a1..c3b6427a1ed66fb3a3daf01009c610039c65a155 100644
|
| --- a/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| +++ b/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| @@ -163,6 +163,9 @@ CompositingReasons CompositingReasonFinder::nonStyleDeterminedDirectReasons(cons
|
| if (requiresCompositingForPositionFixed(layer))
|
| directReasons |= CompositingReasonPositionFixed;
|
|
|
| + if (layer->scrollsWithScrollAncestor())
|
| + directReasons |= CompositingReasonPositionSticky;
|
| +
|
| directReasons |= layoutObject->additionalCompositingReasons();
|
|
|
| ASSERT(!(directReasons & CompositingReasonComboAllStyleDeterminedReasons));
|
|
|