| Index: cc/trees/layer_tree_host_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
|
| index 1ea85c3050cdb81a94603547380607c5454175ec..09cd03974c37abedbcdf25ca1c816e9f8219bdd4 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -4484,7 +4484,7 @@ class TestSwapPromise : public SwapPromise {
|
| result_->did_swap_called = true;
|
| }
|
|
|
| - void DidNotSwap(DidNotSwapReason reason) override {
|
| + DidNotSwapAction DidNotSwap(DidNotSwapReason reason) override {
|
| base::AutoLock lock(result_->lock);
|
| EXPECT_FALSE(result_->did_swap_called);
|
| EXPECT_FALSE(result_->did_not_swap_called);
|
| @@ -4492,6 +4492,7 @@ class TestSwapPromise : public SwapPromise {
|
| reason != DidNotSwapReason::SWAP_FAILS);
|
| result_->did_not_swap_called = true;
|
| result_->reason = reason;
|
| + return DidNotSwapAction::BREAK_PROMISE;
|
| }
|
|
|
| int64_t TraceId() const override { return 0; }
|
|
|