Index: cc/test/layer_test_common.h |
diff --git a/cc/test/layer_test_common.h b/cc/test/layer_test_common.h |
index 094be5d859cbb3bc03d75226ea62d554a4f73a75..68361075105f7245eb71ad70a9cf72bad54feb7e 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_; |