Index: components/exo/surface.h |
diff --git a/components/exo/surface.h b/components/exo/surface.h |
index 8e4a6ad9b5635b0906474e6f367b71a8cb3dad34..9c633b63691ce7e83e0c2f5b44867505cf477c88 100644 |
--- a/components/exo/surface.h |
+++ b/components/exo/surface.h |
@@ -191,8 +191,9 @@ class Surface : public ui::ContextFactoryObserver, |
// Returns a trace value representing the state of the surface. |
std::unique_ptr<base::trace_event::TracedValue> AsTracedValue() const; |
- // Call this to indicate that surface is being scheduled for a draw. |
- void WillDraw(); |
+ // Call this to indicate that the previous CompositorFrame is processed and |
+ // the surface is being scheduled for a draw. |
+ void DidReceiveCompositorFrameAck(); |
// Called when the begin frame source has changed. |
void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source); |