Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: cc/output/compositor_frame_sink.cc

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698