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

Unified Diff: cc/test/layer_test_common.h

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get element id's from scroll node data directly. Created 4 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: cc/test/layer_test_common.h
diff --git a/cc/test/layer_test_common.h b/cc/test/layer_test_common.h
index 71ce50844582450febd0a5d5bd9ad1712bad2f92..1d26edbb58aae16271f14608eda57ddeddc5ac0f 100644
--- a/cc/test/layer_test_common.h
+++ b/cc/test/layer_test_common.h
@@ -157,6 +157,10 @@ class LayerTestCommon {
scoped_refptr<AnimationTimeline> timeline() { return timeline_; }
scoped_refptr<AnimationTimeline> timeline_impl() { return timeline_impl_; }
+ void SetElementIdsForTesting() {
+ host_impl()->active_tree()->SetElementIdsForTesting();
+ }
+
private:
FakeLayerTreeHostClient client_;
TestTaskGraphRunner task_graph_runner_;

Powered by Google App Engine
This is Rietveld 408576698