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

Unified Diff: cc/test/fake_output_surface.h

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: fix-blimp-unittest-post-swap-acks 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_compositor_frame_sink.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index b90a1f3b07b101bdbdeea99b8cb95ec16adc299c..5e4aab4a0ee50bd8869ac094e34b4c8e9303f3a0 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -123,6 +123,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
« no previous file with comments | « cc/test/fake_compositor_frame_sink.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698