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

Unified Diff: cc/test/fake_output_surface_client.cc

Issue 629293004: Call DidPostSwapBuffers and SwapBuffersComplete for browser software surface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 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/test/fake_output_surface_client.cc
diff --git a/cc/test/fake_output_surface_client.cc b/cc/test/fake_output_surface_client.cc
index 6fabdf87d8a541532d01bd23dd3563d6f5e198f5..77c7f8a208283623ced2367926d251d2af43d2a1 100644
--- a/cc/test/fake_output_surface_client.cc
+++ b/cc/test/fake_output_surface_client.cc
@@ -20,6 +20,10 @@ void FakeOutputSurfaceClient::BeginFrame(const BeginFrameArgs& args) {
begin_frame_count_++;
}
+void FakeOutputSurfaceClient::DidSwapBuffers() {
+ swap_count_++;
+}
+
void FakeOutputSurfaceClient::DidLoseOutputSurface() {
did_lose_output_surface_called_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698