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

Unified Diff: cc/output/output_surface_unittest.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/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 053f75d4761a905f182e5449328d14325c72dcf1..2c40578117a2b27e0374bebb14f4f8142fad3027 100644
--- a/cc/output/output_surface_unittest.cc
+++ b/cc/output/output_surface_unittest.cc
@@ -36,7 +36,7 @@ class TestOutputSurface : public OutputSurface {
const gfx::ColorSpace& color_space,
bool has_alpha) override {}
void SwapBuffers(OutputSurfaceFrame frame) override {
- client_->DidSwapBuffersComplete();
+ client_->DidReceiveSwapBuffersAck();
}
uint32_t GetFramebufferCopyTextureFormat() override {
// TestContextProvider has no real framebuffer, just use RGB.
@@ -51,7 +51,9 @@ class TestOutputSurface : public OutputSurface {
bool HasExternalStencilTest() const override { return false; }
void ApplyExternalStencil() override {}
- void OnSwapBuffersCompleteForTesting() { client_->DidSwapBuffersComplete(); }
+ void OnSwapBuffersCompleteForTesting() {
+ client_->DidReceiveSwapBuffersAck();
+ }
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