| Index: cc/output/output_surface.h
|
| diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
|
| index c79f770be920fb024a7918a836c11d35a578d09e..6cd0749aaf677ad02967fc499864476862ffc509 100644
|
| --- a/cc/output/output_surface.h
|
| +++ b/cc/output/output_surface.h
|
| @@ -113,8 +113,10 @@ class CC_EXPORT OutputSurface {
|
|
|
| // The implementation may destroy or steal the contents of the CompositorFrame
|
| // passed in (though it will not take ownership of the CompositorFrame
|
| - // itself).
|
| - virtual void SwapBuffers(CompositorFrame* frame);
|
| + // itself). For successful swaps, the implementation must call
|
| + // OutputSurfaceClient::DidSwapBuffers() and eventually
|
| + // DidSwapBuffersComplete().
|
| + virtual void SwapBuffers(CompositorFrame* frame) = 0;
|
| virtual void OnSwapBuffersComplete();
|
|
|
| // Notifies frame-rate smoothness preference. If true, all non-critical
|
|
|