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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.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
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | third_party/WebKit/Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index 1cbacd8654da67728ae677d0ee5120538f098a54..af5fdce15eb55b9ed1d6e028a1e8068be0649b55 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -752,9 +752,9 @@ bool Animation::CanStartAnimationOnCompositor(
if (!target_element)
return false;
- CompositorElementId target_element_id =
- CreateCompositorElementId(DOMNodeIds::IdForNode(target_element),
- CompositorSubElementId::kPrimary);
+ CompositorElementId target_element_id = CompositorElementIdFromDOMNodeId(
+ DOMNodeIds::IdForNode(target_element),
+ CompositorElementIdNamespace::kPrimary);
if (!composited_element_ids->Contains(target_element_id))
return false;
}
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | third_party/WebKit/Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698