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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 2755463002: [cc] Fix CompositorFrameSinkSupport BeginFrameAck interface. (Closed)
Patch Set: add BeginFrameDidNotSwap to MojoCFS. 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 c74072b7cccf191cede6a8e926836a8cdc89cac6..c033ebb975d820f54f441312c735cc605ccd04e7 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);
}
};

Powered by Google App Engine
This is Rietveld 408576698