Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1230)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2618323004: Don't force-update style and layout in Document::scrollingElement (Closed)
Patch Set: none Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)) {

Powered by Google App Engine
This is Rietveld 408576698