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

Unified Diff: cc/scheduler/begin_frame_source.cc

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/resources/video_resource_updater.cc ('k') | 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 dd6cdbeb5dfd54f87e8270dbce1d76566deb53a7..5252dcc06d99e9bf886794477564c96fe89b4473 100644
--- a/cc/scheduler/begin_frame_source.cc
+++ b/cc/scheduler/begin_frame_source.cc
@@ -181,10 +181,9 @@ void BackToBackBeginFrameSource::BeginFrame() {
return;
base::TimeTicks now = Now();
- BeginFrameArgs args =
- BeginFrameArgs::Create(now,
- now + BeginFrameArgs::DefaultInterval(),
- BeginFrameArgs::DefaultInterval());
+ BeginFrameArgs args = BeginFrameArgs::Create(
+ now, now + BeginFrameArgs::DefaultInterval(),
+ BeginFrameArgs::DefaultInterval(), BeginFrameArgs::NORMAL);
CallOnBeginFrame(args);
}
@@ -243,8 +242,8 @@ BeginFrameArgs SyntheticBeginFrameSource::CreateBeginFrameArgs(
base::TimeTicks frame_time,
BeginFrameArgs::BeginFrameArgsType type) {
base::TimeTicks deadline = time_source_->NextTickTime();
- return BeginFrameArgs::CreateTyped(
- frame_time, deadline, time_source_->Interval(), type);
+ return BeginFrameArgs::Create(frame_time, deadline, time_source_->Interval(),
+ type);
}
// TimeSourceClient support
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | cc/scheduler/begin_frame_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698