Chromium Code Reviews| 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/30 21:14:49
You mentioned that hasOverflowScrollTrigger() basi
Stephen Chennney
2016/08/31 20:50:20
I don't think we can remove it for the scrolling c
|
| if (layer->clipParent()) |
|
flackr
2016/08/30 21:14:50
I'm concerned this condition combined with Runtime
Stephen Chennney
2016/08/31 20:50:20
I think I'll just adjust the logic.
flackr
2016/09/01 21:06:46
Sorry for the delay, I mistook this to mean you we
|
| directReasons |= CompositingReasonOutOfFlowClipping; |