| Index: cc/test/test_hooks.h
|
| diff --git a/cc/test/test_hooks.h b/cc/test/test_hooks.h
|
| index 299729ae7bef373ac0e14eb7be017c6094ef75a7..89807e46ca72929f7b5fbeb5b898eae12c1b7a32 100644
|
| --- a/cc/test/test_hooks.h
|
| +++ b/cc/test/test_hooks.h
|
| @@ -46,8 +46,11 @@ class TestHooks : public AnimationDelegate {
|
| LayerTreeHostImpl::FrameData* frame_data,
|
| DrawResult draw_result);
|
| virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) {}
|
| - virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, bool result) {}
|
| - virtual void SwapBuffersCompleteOnThread(LayerTreeHostImpl* host_impl) {}
|
| + // Note that this is called asynchronously from the LayerTreeHostImpl
|
| + // performing its draw, so you should record state you want to use here
|
| + // in DrawLayersOnThread() instead. For that reason this method does not
|
| + // receive a LayerTreeHostImpl pointer.
|
| + virtual void SwapBuffersCompleteOnThread() {}
|
| virtual void NotifyReadyToActivateOnThread(LayerTreeHostImpl* host_impl) {}
|
| virtual void NotifyReadyToDrawOnThread(LayerTreeHostImpl* host_impl) {}
|
| virtual void NotifyAllTileTasksCompleted(LayerTreeHostImpl* host_impl) {}
|
|
|