| Index: cc/test/layer_tree_test.cc
|
| diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
|
| index 9b9bae634abc92183976d9dd33f21bec6bbd0b94..2c95269335b1f49d6b849122eed698191f14fdd0 100644
|
| --- a/cc/test/layer_tree_test.cc
|
| +++ b/cc/test/layer_tree_test.cc
|
| @@ -200,6 +200,9 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
|
| }
|
|
|
| virtual void BlockNotifyReadyToActivateForTesting(bool block) override {
|
| + CHECK(settings().impl_side_painting);
|
| + CHECK(proxy()->ImplThreadTaskRunner())
|
| + << "Not supported for single-threaded mode.";
|
| block_notify_ready_to_activate_for_testing_ = block;
|
| if (!block && notify_ready_to_activate_was_blocked_) {
|
| NotifyReadyToActivate();
|
| @@ -636,11 +639,7 @@ void LayerTreeTest::RunTest(bool threaded,
|
| // Spend less time waiting for BeginFrame because the output is
|
| // mocked out.
|
| settings_.refresh_rate = 200.0;
|
| - if (impl_side_painting) {
|
| - DCHECK(threaded)
|
| - << "Don't run single thread + impl side painting, it doesn't exist.";
|
| - settings_.impl_side_painting = true;
|
| - }
|
| + settings_.impl_side_painting = impl_side_painting;
|
| InitializeSettings(&settings_);
|
|
|
| main_task_runner_->PostTask(
|
|
|