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

Unified Diff: cc/test/layer_tree_host_remote_for_testing.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/test/layer_tree_host_remote_for_testing.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_host_remote_for_testing.cc
diff --git a/cc/test/layer_tree_host_remote_for_testing.cc b/cc/test/layer_tree_host_remote_for_testing.cc
index 25dc9e571d9935c9825ca2928e74bf96a45f17d0..d2769284b16e8289975a8f11e31f6dbb3b3b2cab 100644
--- a/cc/test/layer_tree_host_remote_for_testing.cc
+++ b/cc/test/layer_tree_host_remote_for_testing.cc
@@ -90,8 +90,8 @@ class LayerTreeHostRemoteForTesting::LayerTreeHostInProcessClient
void DidCommitAndDrawFrame() override {
layer_tree_host_remote_->client()->DidCommitAndDrawFrame();
}
- void DidCompleteSwapBuffers() override {
- layer_tree_host_remote_->client()->DidCompleteSwapBuffers();
+ void DidReceiveCompositorFrameAck() override {
+ layer_tree_host_remote_->client()->DidReceiveCompositorFrameAck();
}
void DidCompletePageScaleAnimation() override {
NOTREACHED() << "The remote mode doesn't support sending animations";
@@ -259,7 +259,7 @@ LayerTreeHostRemoteForTesting::CreateLayerTreeHostInProcess(
return LayerTreeHostInProcess::CreateThreaded(impl_task_runner, &params);
}
-void LayerTreeHostRemoteForTesting::DispatchDrawAndSwapCallbacks() {
+void LayerTreeHostRemoteForTesting::DispatchDrawAndSubmitCallbacks() {
// Don't dispatch callbacks right after the commit on the remote host. Since
// tests rely on CompositorFrames being swapped on the CompositorFrameSink,
// we wait for these callbacks from the LayerTreeHostInProcess.
« no previous file with comments | « cc/test/layer_tree_host_remote_for_testing.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698