| 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 f833655fd50b90691ca0ec14af18240af0041f9a..ad1f137823a0fea99ec461e3690feece6d79c59e 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -67,6 +67,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),
|
| @@ -105,6 +106,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;
|
| }
|
| @@ -350,6 +355,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_;
|
|
|