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

Unified Diff: third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp

Issue 2292133002: [compositor-worker] root scrolling layer is associated with document scrolling element
Patch Set: Use document instead of documentElement() Created 3 years, 10 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/web/CompositorWorkerProxyClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp b/third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp
index c564b861cb89f47fc1470e1b1f228a0ccf242fb3..a7985676f5315606611874f4f99d2f50b7874e43 100644
--- a/third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp
+++ b/third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp
@@ -26,8 +26,8 @@ class ScopedCompositorMutableState final {
CompositorMutableStateProvider* stateProvider)
: m_proxies(proxies) {
for (CompositorProxy* proxy : m_proxies) {
- proxy->takeCompositorMutableState(
- stateProvider->getMutableStateFor(proxy->elementId()));
+ proxy->takeCompositorMutableState(stateProvider->getMutableStateFor(
+ proxy->elementId(), proxy->scrollingNodeId()));
}
}
~ScopedCompositorMutableState() {

Powered by Google App Engine
This is Rietveld 408576698