| 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 72a72b4552545cac9efb7fe390d349c8ddda55d7..6e242f1fe1c4bcb248cbbc9745462bae76803c71 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;
|
| }
|
| @@ -352,6 +357,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_;
|
|
|