| Index: cc/surfaces/compositor_frame_sink_support.cc
|
| diff --git a/cc/surfaces/compositor_frame_sink_support.cc b/cc/surfaces/compositor_frame_sink_support.cc
|
| index 8557895a15a12a79f5900c532a8257cfdfc7699f..0fdb6c6855755951a03bcee2ce4fda161f209986 100644
|
| --- a/cc/surfaces/compositor_frame_sink_support.cc
|
| +++ b/cc/surfaces/compositor_frame_sink_support.cc
|
| @@ -45,7 +45,7 @@ CompositorFrameSinkSupport::~CompositorFrameSinkSupport() {
|
| reference_tracker_.current_surface_id().is_valid())
|
| RemoveTopLevelRootReference(reference_tracker_.current_surface_id());
|
|
|
| - EvictFrame();
|
| + EvictCurrentSurface();
|
| surface_manager_->UnregisterFrameSinkManagerClient(frame_sink_id_);
|
| if (handles_frame_sink_id_invalidation_)
|
| surface_manager_->InvalidateFrameSinkId(frame_sink_id_);
|
| @@ -74,7 +74,7 @@ void CompositorFrameSinkSupport::SetBeginFrameSource(
|
| UpdateNeedsBeginFramesInternal();
|
| }
|
|
|
| -void CompositorFrameSinkSupport::EvictFrame() {
|
| +void CompositorFrameSinkSupport::EvictCurrentSurface() {
|
| if (!current_surface_)
|
| return;
|
| DestroyCurrentSurface();
|
|
|