Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
index e4f5b18fb2b1b60eda7d99c92ecdb7a84c2130cb..1f83e59568c8905a63f85db0f942de8d48212ff8 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -2082,7 +2082,7 @@ void CompositedLayerMapping::updateElementIdAndCompositorMutableProperties() { |
const ComputedStyle* animatingStyle = nullptr; |
if (owningNode) { |
Document& document = owningNode->document(); |
- Element* scrollingElement = document.scrollingElement(); |
+ Element* scrollingElement = document.scrollingElementNoLayout(); |
if (owningNode->isElementNode() && |
(!RuntimeEnabledFeatures::rootLayerScrollingEnabled() || |
owningNode != scrollingElement)) { |