Index: ui/aura/local/compositor_frame_sink_local.cc |
diff --git a/ui/aura/local/compositor_frame_sink_local.cc b/ui/aura/local/compositor_frame_sink_local.cc |
index d859f92e000c3bf890324cf8786956bc13c0ab9e..9674689634bdc5893f9509c641c6c6ca7da79caa 100644 |
--- a/ui/aura/local/compositor_frame_sink_local.cc |
+++ b/ui/aura/local/compositor_frame_sink_local.cc |
@@ -51,7 +51,7 @@ void CompositorFrameSinkLocal::DetachFromClient() { |
DCHECK(thread_checker_->CalledOnValidThread()); |
client_->SetBeginFrameSource(nullptr); |
begin_frame_source_.reset(); |
- support_->EvictFrame(); |
+ support_->EvictCurrentSurface(); |
support_.reset(); |
thread_checker_.reset(); |
cc::CompositorFrameSink::DetachFromClient(); |