| Index: third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| index 1c567e638d648337bec4ec130acd580c7f999139..0d99d6ec13587e972ae7afb0114d6f00105696c6 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| @@ -5,12 +5,14 @@
|
| #include "core/layout/compositing/CompositingInputsUpdater.h"
|
|
|
| #include "core/dom/Document.h"
|
| +#include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/layout/LayoutBlock.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/layout/compositing/CompositedLayerMapping.h"
|
| #include "core/layout/compositing/PaintLayerCompositor.h"
|
| #include "core/page/scrolling/RootScrollerController.h"
|
| +#include "core/page/scrolling/TopDocumentRootScrollerController.h"
|
| #include "core/paint/PaintLayer.h"
|
| #include "platform/tracing/TraceEvent.h"
|
|
|
| @@ -239,6 +241,13 @@ void CompositingInputsUpdater::updateRecursive(PaintLayer* layer,
|
| if (layer->layoutObject()->hasClipPath())
|
| info.hasAncestorWithClipPath = true;
|
|
|
| + layer->setIsGlobalRootScroller(layer ==
|
| + layer->layoutObject()
|
| + ->document()
|
| + .frameHost()
|
| + ->globalRootScrollerController()
|
| + .rootScrollerPaintLayer());
|
| +
|
| bool hasDescendantWithClipPath = false;
|
| bool hasNonIsolatedDescendantWithBlendMode = false;
|
| bool hasRootScrollerAsDescendant = false;
|
|
|