| Index: content/renderer/gpu/frame_swap_message_queue.h
|
| diff --git a/content/renderer/gpu/frame_swap_message_queue.h b/content/renderer/gpu/frame_swap_message_queue.h
|
| index 51eb229ed7871ed8367a2b39c19c741d868ee28b..4d6280a7add49afa249249787786e99fb1c43467 100644
|
| --- a/content/renderer/gpu/frame_swap_message_queue.h
|
| +++ b/content/renderer/gpu/frame_swap_message_queue.h
|
| @@ -52,8 +52,13 @@ class CONTENT_EXPORT FrameSwapMessageQueue
|
| // Returns true if there are no messages in the queue.
|
| bool Empty() const;
|
|
|
| - // Should be called when a successful swap occurs. The messages for that swap
|
| - // can be obtained by calling DrainMessages.
|
| + // Should be called when a successful activate occurs.
|
| + //
|
| + // |source_frame_number| frame number for which the activate occurred.
|
| + void DidActivate(int source_frame_number);
|
| +
|
| + // Should be called when a successful activation occurs. The messages for that
|
| + // activation can be obtained by calling DrainMessages.
|
| //
|
| // |source_frame_number| frame number for which the swap occurred.
|
| void DidSwap(int source_frame_number);
|
|
|