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

Unified Diff: cc/test/test_compositor_frame_sink.h

Issue 2379343003: Revert of cc: Remove frame queuing from the scheduler. (Closed)
Patch Set: Created 4 years, 3 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/scheduler_test_common.h ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_compositor_frame_sink.h
diff --git a/cc/test/test_compositor_frame_sink.h b/cc/test/test_compositor_frame_sink.h
index 31d23f2e36f7211b1753c076ac5e3d877b227034..76614e1ca7453c8c6129ff9a62d5be5757d4a56d 100644
--- a/cc/test/test_compositor_frame_sink.h
+++ b/cc/test/test_compositor_frame_sink.h
@@ -78,7 +78,7 @@
void DisplayDidDrawAndSwap() override;
private:
- void DidDrawCallback();
+ void DidDrawCallback(bool synchronous);
// TODO(danakj): These don't need to be stored in unique_ptrs when
// CompositorFrameSink is owned/destroyed on the compositor thread.
@@ -97,6 +97,8 @@
gfx::Size enlarge_pass_texture_amount_;
std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests_;
+
+ base::WeakPtrFactory<TestCompositorFrameSink> weak_ptrs_;
};
} // namespace cc
« no previous file with comments | « cc/test/scheduler_test_common.h ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698