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

Unified Diff: cc/trees/remote_channel_main.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/trees/remote_channel_main.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_channel_main.cc
diff --git a/cc/trees/remote_channel_main.cc b/cc/trees/remote_channel_main.cc
index 6b490697a0419208e0a9533d4a6503774aecad78..e8b269468de7a5d6ee7b0779156394e02695f277 100644
--- a/cc/trees/remote_channel_main.cc
+++ b/cc/trees/remote_channel_main.cc
@@ -129,7 +129,7 @@ void RemoteChannelMain::SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) {
// The client will not inform us when the frame buffers are swapped.
MainThreadTaskRunner()->PostTask(
- FROM_HERE, base::Bind(&RemoteChannelMain::DidCompleteSwapBuffers,
+ FROM_HERE, base::Bind(&RemoteChannelMain::DidReceiveCompositorFrameAck,
weak_factory_.GetWeakPtr()));
}
@@ -264,11 +264,11 @@ void RemoteChannelMain::HandleProto(
void RemoteChannelMain::DidCommitAndDrawFrame() {
proxy_main_->DidCommitAndDrawFrame();
- DidCompleteSwapBuffers();
+ DidReceiveCompositorFrameAck();
}
-void RemoteChannelMain::DidCompleteSwapBuffers() {
- proxy_main_->DidCompleteSwapBuffers();
+void RemoteChannelMain::DidReceiveCompositorFrameAck() {
+ proxy_main_->DidReceiveCompositorFrameAck();
}
base::SingleThreadTaskRunner* RemoteChannelMain::MainThreadTaskRunner() const {
« no previous file with comments | « cc/trees/remote_channel_main.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698