| Index: cc/output/swap_promise.h
|
| diff --git a/cc/output/swap_promise.h b/cc/output/swap_promise.h
|
| index f3c3fbdde811651bb9a941d307b7372c3103ddee..5298aee7cc8ef830867055173878089374a59629 100644
|
| --- a/cc/output/swap_promise.h
|
| +++ b/cc/output/swap_promise.h
|
| @@ -55,7 +55,9 @@ class CC_EXPORT SwapPromise {
|
|
|
| virtual void DidActivate() = 0;
|
| virtual void DidSwap(CompositorFrameMetadata* metadata) = 0;
|
| - virtual void DidNotSwap(DidNotSwapReason reason) = 0;
|
| + // Returns true if this promise should remain active (should not be broken by
|
| + // the owner).
|
| + virtual bool DidNotSwap(DidNotSwapReason reason) = 0;
|
| // This is called when the main thread starts a (blocking) commit
|
| virtual void OnCommit() {}
|
|
|
|
|