Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 0c4fc352eb970af98e5aa15501e6382ac2f56abd..5e43192aa1afc55a316331c80b6987b42873b45a 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -68,6 +68,7 @@ class LayerTreeHostImplTest : public testing::Test, |
always_main_thread_blocked_(&proxy_), |
did_try_initialize_renderer_(false), |
on_can_draw_state_changed_called_(false), |
+ did_notify_ready_to_activate_(false), |
has_pending_tree_(false), |
did_request_commit_(false), |
did_request_redraw_(false), |
@@ -106,6 +107,10 @@ class LayerTreeHostImplTest : public testing::Test, |
virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE { |
on_can_draw_state_changed_called_ = true; |
} |
+ virtual void NotifyReadyToActivate() OVERRIDE { |
+ did_notify_ready_to_activate_ = true; |
+ host_impl_->ActivatePendingTree(); |
+ } |
virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE { |
has_pending_tree_ = has_pending_tree; |
} |
@@ -353,6 +358,7 @@ class LayerTreeHostImplTest : public testing::Test, |
FakeRenderingStatsInstrumentation stats_instrumentation_; |
bool did_try_initialize_renderer_; |
bool on_can_draw_state_changed_called_; |
+ bool did_notify_ready_to_activate_; |
bool has_pending_tree_; |
bool did_request_commit_; |
bool did_request_redraw_; |