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

Unified Diff: cc/scheduler/begin_frame_source.cc

Issue 2930813002: Avoid DCHECK in ExternalBeginFrameSource::GetMissedBeginFrameArgs caused by out of order frame time (Closed)
Patch Set: Addressed CR feedback Created 3 years, 6 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/scheduler/begin_frame_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/begin_frame_source.cc
diff --git a/cc/scheduler/begin_frame_source.cc b/cc/scheduler/begin_frame_source.cc
index 5b4cd4048fcdfbed5889ee66de3f8815b2053e88..c5ec59595c2015ee90777c806a436440cf0b8a79 100644
--- a/cc/scheduler/begin_frame_source.cc
+++ b/cc/scheduler/begin_frame_source.cc
@@ -337,7 +337,7 @@ BeginFrameArgs ExternalBeginFrameSource::GetMissedBeginFrameArgs(
const BeginFrameArgs& last_args = obs->LastUsedBeginFrameArgs();
if (last_args.IsValid() &&
- last_begin_frame_args_.frame_time == last_args.frame_time) {
+ last_begin_frame_args_.frame_time <= last_args.frame_time) {
return BeginFrameArgs();
}
« no previous file with comments | « no previous file | cc/scheduler/begin_frame_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698