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 a4a6beda01478803728ea06224b4ddd4f7e0ce07..69855833d23bd67d281b9749f327cf8c77bdcd31 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp |
@@ -142,7 +142,7 @@ CompositingReasons CompositingReasonFinder::nonStyleDeterminedDirectReasons(cons |
CompositingReasons directReasons = CompositingReasonNone; |
LayoutObject* layoutObject = layer->layoutObject(); |
- if (hasOverflowScrollTrigger()) { |
+ if (hasOverflowScrollTrigger() || RuntimeEnabledFeatures::compositeOpaqueScrollersEnabled()) { |
flackr
2016/08/26 18:24:23
I don't understand why hasOverflowScrollTrigger()
Stephen Chennney
2016/08/26 18:42:08
hasOverflowScrollTrigger only checks for the Overf
|
if (layer->clipParent()) |
directReasons |= CompositingReasonOutOfFlowClipping; |