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

Unified Diff: content/browser/compositor/gpu_vsync_begin_frame_source.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: add baseline test in layer_tree_host_unittest_proxy; initialize source_frame_number is all ctors 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
« cc/trees/proxy_main.h ('K') | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gpu_vsync_begin_frame_source.cc
diff --git a/content/browser/compositor/gpu_vsync_begin_frame_source.cc b/content/browser/compositor/gpu_vsync_begin_frame_source.cc
index f9414105a00a395fe48c3f911079387105fe2099..f6be3e233df50098def1c54008bc964ab1eec785 100644
--- a/content/browser/compositor/gpu_vsync_begin_frame_source.cc
+++ b/content/browser/compositor/gpu_vsync_begin_frame_source.cc
@@ -30,8 +30,9 @@ void GpuVSyncBeginFrameSource::OnVSync(base::TimeTicks timestamp,
next_sequence_number_++;
OnBeginFrame(cc::BeginFrameArgs::Create(
- BEGINFRAME_FROM_HERE, source_id(), next_sequence_number_, timestamp,
- deadline, interval, cc::BeginFrameArgs::NORMAL));
+ BEGINFRAME_FROM_HERE, source_id(), next_sequence_number_,
+ cc::BeginFrameArgs::kDefaultSourceFrameNumber, timestamp, deadline,
+ interval, cc::BeginFrameArgs::NORMAL));
}
void GpuVSyncBeginFrameSource::OnNeedsBeginFrames(bool needs_begin_frames) {
« cc/trees/proxy_main.h ('K') | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698