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

Unified Diff: cc/output/output_surface_unittest.cc

Issue 2143263002: cc: Remove OutputSurfaceClient::DidSwapBuffers(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removedidswap: fix-webview-swap Created 4 years, 5 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/output_surface_client.h ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface_unittest.cc
diff --git a/cc/output/output_surface_unittest.cc b/cc/output/output_surface_unittest.cc
index 4f0a1e10f1ecbf84420921c77a724b20acd3c264..d4fa9f7b3fe87e4f9ce27d14526767d111874ed3 100644
--- a/cc/output/output_surface_unittest.cc
+++ b/cc/output/output_surface_unittest.cc
@@ -43,7 +43,6 @@ class TestOutputSurface : public OutputSurface {
std::move(software_device)) {}
void SwapBuffers(CompositorFrame frame) override {
- client_->DidSwapBuffers();
client_->DidSwapBuffersComplete();
}
uint32_t GetFramebufferCopyTextureFormat() override {
@@ -51,8 +50,6 @@ class TestOutputSurface : public OutputSurface {
return GL_RGB;
}
- void DidSwapBuffersForTesting() { client_->DidSwapBuffers(); }
-
void OnSwapBuffersCompleteForTesting() { client_->DidSwapBuffersComplete(); }
protected:
« no previous file with comments | « cc/output/output_surface_client.h ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698