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

Unified Diff: cc/test/fake_output_surface.h

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: . 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
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index a0aa77bf8c283691ee6b658b945630e08c7ada89..c3631d59c4a131b55e2b42f7a1b992c277301dc8 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -119,6 +119,11 @@ class FakeOutputSurface : public OutputSurface {
OverlayCandidateValidator* overlay_candidate_validator_ = nullptr;
bool last_swap_rect_valid_ = false;
gfx::Rect last_swap_rect_;
+
+ private:
+ void SwapBuffersCallback();
+
+ base::WeakPtrFactory<FakeOutputSurface> weak_ptr_factory_;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698