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

Unified Diff: cc/output/compositor_frame_sink.cc

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase 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
« no previous file with comments | « cc/output/compositor_frame_sink.h ('k') | cc/output/compositor_frame_sink_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_sink.cc
diff --git a/cc/output/compositor_frame_sink.cc b/cc/output/compositor_frame_sink.cc
index d4939cc8dd838aeb61d1662398a94bc1a9840b18..9e2642d24f81e9f69d05b3710130b17c10ab98c3 100644
--- a/cc/output/compositor_frame_sink.cc
+++ b/cc/output/compositor_frame_sink.cc
@@ -75,12 +75,6 @@ void CompositorFrameSink::DetachFromClient() {
client_ = nullptr;
}
-// We don't post tasks bound to the client directly since they might run
-// after the CompositorFrameSink has been destroyed.
-void CompositorFrameSink::OnSwapBuffersComplete() {
- client_->DidSwapBuffersComplete();
-}
-
void CompositorFrameSink::DidLoseCompositorFrameSink() {
TRACE_EVENT0("cc", "CompositorFrameSink::DidLoseCompositorFrameSink");
client_->DidLoseCompositorFrameSink();
« no previous file with comments | « cc/output/compositor_frame_sink.h ('k') | cc/output/compositor_frame_sink_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698