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

Unified Diff: third_party/WebKit/Source/core/animation/CompositorAnimations.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/animation/CompositorAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
index 6a9b352fae88b2f1a3febaeaa0ca7a047544a6f0..0179f6125b962d1e985b8e32604043ca309fc759 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
@@ -466,8 +466,8 @@ void CompositorAnimations::AttachCompositedLayers(Element& element,
}
CompositorAnimationPlayer* compositor_player = animation.CompositorPlayer();
- compositor_player->AttachElement(CreateCompositorElementId(
- DOMNodeIds::IdForNode(&element), CompositorSubElementId::kPrimary));
+ compositor_player->AttachElement(CompositorElementIdFromDOMNodeId(
+ DOMNodeIds::IdForNode(&element), CompositorElementIdNamespace::kPrimary));
}
bool CompositorAnimations::ConvertTimingForCompositor(
« no previous file with comments | « third_party/WebKit/Source/core/animation/AnimationTest.cpp ('k') | third_party/WebKit/Source/core/frame/VisualViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698