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

Unified Diff: cc/test/fake_output_surface.cc

Issue 2403373002: cc: Clean up OutputSurfaceClient. (Closed)
Patch Set: osclient: 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/fake_output_surface.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.cc
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
index 757c28d3b3abdeb4dbf4192afeda4a686da6deca..362c59d790f1668d8c7ee7a222a36fda40c23df0 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -53,12 +53,12 @@ void FakeOutputSurface::SwapBuffers(OutputSurfaceFrame frame) {
}
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&FakeOutputSurface::SwapBuffersCallback,
+ FROM_HERE, base::Bind(&FakeOutputSurface::SwapBuffersAck,
weak_ptr_factory_.GetWeakPtr()));
}
-void FakeOutputSurface::SwapBuffersCallback() {
- client_->DidSwapBuffersComplete();
+void FakeOutputSurface::SwapBuffersAck() {
+ client_->DidReceiveSwapBuffersAck();
}
void FakeOutputSurface::BindFramebuffer() {
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698