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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 2755463002: [cc] Fix CompositorFrameSinkSupport BeginFrameAck interface. (Closed)
Patch Set: sync Created 3 years, 9 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/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index 7b00974d58791f2d703d6761e1d9a549f41b6a47..80b103ff0149b38e890e17a1b3634652ea3466d1 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -95,8 +95,8 @@ namespace {
struct TestFrameData : public LayerTreeHostImpl::FrameData {
TestFrameData() {
- // Set sequence number to something valid, so DCHECKs don't complain.
- begin_frame_ack.sequence_number = 1;
+ // Set ack to something valid, so DCHECKs don't complain.
+ begin_frame_ack = BeginFrameAck(0, 1, 1, 0, true);
}
};
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink_unittest.cc ('k') | components/display_compositor/gpu_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698