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

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

Issue 2877033002: Fix cc scrollbar layer issues with initialization, and use element ids throughout. (Closed)
Patch Set: none Created 3 years, 7 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/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 5bd2202e29af58b6b0d83f6cc720535872bd2d03..457c6c518c30de70cac448635ed1d6de4dba06e1 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -1197,9 +1197,9 @@ void PaintLayerCompositor::EnsureRootLayer() {
// In RLS mode, LayoutView scrolling contents layer gets this element ID (in
// CompositedLayerMapping::updateElementIdAndCompositorMutableProperties).
if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled()) {
- scroll_layer_->SetElementId(CreateCompositorElementId(
+ scroll_layer_->SetElementId(CompositorElementIdFromDOMNodeId(
DOMNodeIds::IdForNode(&layout_view_.GetDocument()),
- CompositorSubElementId::kScroll));
+ CompositorElementIdNamespace::kScroll));
}
// Hook them up

Powered by Google App Engine
This is Rietveld 408576698