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

Unified Diff: cc/output/begin_frame_args.cc

Issue 2686193002: [cc] facilitate use of BeginFrameAcks in tests. (Closed)
Patch Set: sync Created 3 years, 10 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 | « no previous file | cc/test/begin_frame_args_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/begin_frame_args.cc
diff --git a/cc/output/begin_frame_args.cc b/cc/output/begin_frame_args.cc
index b7ecc0b178398338430e58d1bd22e9302e4368fd..f6d66520b5150a5abf26372bc006447a45b29fc9 100644
--- a/cc/output/begin_frame_args.cc
+++ b/cc/output/begin_frame_args.cc
@@ -48,7 +48,7 @@ BeginFrameArgs::BeginFrameArgs(uint32_t source_id,
source_id(source_id),
type(type),
on_critical_path(true) {
- DCHECK_LT(kInvalidFrameNumber, sequence_number);
+ DCHECK_LE(kStartingFrameNumber, sequence_number);
}
BeginFrameArgs BeginFrameArgs::Create(BeginFrameArgs::CreationLocation location,
« no previous file with comments | « no previous file | cc/test/begin_frame_args_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698