| Index: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| index e702b1b52e050cc6127aaf1821ba983101cb3061..79777cffaf1d34fb2e44eedef1cd7a4609032a25 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
|
| @@ -187,7 +187,8 @@ bool CompositingReasonFinder::requiresCompositingForScrollDependentPosition(
|
| if (!(m_compositingTriggers & ViewportConstrainedPositionedTrigger) &&
|
| (!RuntimeEnabledFeatures::compositeOpaqueFixedPositionEnabled() ||
|
| !layer->backgroundIsKnownToBeOpaqueInRect(
|
| - LayoutRect(layer->boundingBoxForCompositing())))) {
|
| + LayoutRect(layer->boundingBoxForCompositing())) ||
|
| + layer->compositesWithTransform() || layer->compositesWithOpacity())) {
|
| return false;
|
| }
|
| // Don't promote fixed position elements that are descendants of a non-view
|
|
|