Index: cc/output/compositor_frame_sink.cc |
diff --git a/cc/output/compositor_frame_sink.cc b/cc/output/compositor_frame_sink.cc |
index c01efc35ebd63e4c449d01336a701b86d7f5d9a7..07636c8d7ea862c3ed570f8451cf71a69d5a02ba 100644 |
--- a/cc/output/compositor_frame_sink.cc |
+++ b/cc/output/compositor_frame_sink.cc |
@@ -176,12 +176,6 @@ void CompositorFrameSink::DetachFromClient() { |
DetachFromClientInternal(); |
} |
-void CompositorFrameSink::PostSwapBuffersComplete() { |
- base::ThreadTaskRunnerHandle::Get()->PostTask( |
- FROM_HERE, base::Bind(&CompositorFrameSink::OnSwapBuffersComplete, |
- weak_ptr_factory_.GetWeakPtr())); |
-} |
- |
// We don't post tasks bound to the client directly since they might run |
// after the CompositorFrameSink has been destroyed. |
void CompositorFrameSink::OnSwapBuffersComplete() { |