| Index: cc/base/swap_promise.h
|
| diff --git a/cc/base/swap_promise.h b/cc/base/swap_promise.h
|
| index 36a5b130a50498ae33e56aab4bb97320246a7289..4fab29fc5a528c1f52b1756e736a2ab7d61c88b6 100644
|
| --- a/cc/base/swap_promise.h
|
| +++ b/cc/base/swap_promise.h
|
| @@ -9,8 +9,6 @@
|
|
|
| namespace cc {
|
|
|
| -const unsigned int kMaxQueuedSwapPromiseNumber = 100;
|
| -
|
| // When a change to the compositor's state/invalidation/whatever happens, a
|
| // Swap Promise can be inserted into LayerTreeHost/LayerTreeImpl, to track
|
| // whether the compositor's reply to the new state/invaliadtion/whatever is
|
| @@ -41,7 +39,8 @@ class CC_EXPORT SwapPromise {
|
| SwapPromise() {}
|
| virtual ~SwapPromise() {}
|
|
|
| - virtual void DidSwap(CompositorFrameMetadata* metadata) = 0;
|
| + virtual void DidSwap(int source_frame_number,
|
| + CompositorFrameMetadata* metadata) = 0;
|
| virtual void DidNotSwap(DidNotSwapReason reason) = 0;
|
| };
|
|
|
|
|