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

Unified Diff: ui/android/window_android.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: review comment Created 3 years, 8 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 | « third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android.cc
diff --git a/ui/android/window_android.cc b/ui/android/window_android.cc
index a2100db6eabf4f29eb8fe66b71d8d3504052649d..5ecf8afaa0e94592686a2f714d5eb5dfb82275dc 100644
--- a/ui/android/window_android.cc
+++ b/ui/android/window_android.cc
@@ -102,8 +102,9 @@ void WindowAndroid::WindowBeginFrameSource::OnVSync(
// frame time is in the past, so give the next vsync period as the deadline.
base::TimeTicks deadline = frame_time + vsync_period;
last_begin_frame_args_ = cc::BeginFrameArgs::Create(
- BEGINFRAME_FROM_HERE, source_id(), next_sequence_number_, frame_time,
- deadline, vsync_period, cc::BeginFrameArgs::NORMAL);
+ BEGINFRAME_FROM_HERE, source_id(), next_sequence_number_,
+ cc::BeginFrameArgs::kDefaultSourceFrameNumber, frame_time, deadline,
+ vsync_period, cc::BeginFrameArgs::NORMAL);
DCHECK(last_begin_frame_args_.IsValid());
next_sequence_number_++;
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698