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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 2833603002: Revert of Plumb activation time to main (Closed)
Patch Set: 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 | « cc/trees/proxy_main.cc ('k') | content/browser/compositor/gpu_vsync_begin_frame_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 0d3ebd0194272191fd192afd9296e3434bd010af..07b5afa607a72b95240466e413a98e6d880c3ae8 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -319,11 +319,8 @@
void SingleThreadProxy::NotifyReadyToActivate() {
TRACE_EVENT0("cc", "SingleThreadProxy::NotifyReadyToActivate");
DebugScopedSetImplThread impl(task_runner_provider_);
- if (scheduler_on_impl_thread_) {
- // The argument to NotifyReadyToActivate is the pending-tree for computing
- // Activation time in ProxyImpl. However this is not applicable here.
- scheduler_on_impl_thread_->NotifyReadyToActivate(-1);
- }
+ if (scheduler_on_impl_thread_)
+ scheduler_on_impl_thread_->NotifyReadyToActivate();
}
void SingleThreadProxy::NotifyReadyToDraw() {
@@ -459,8 +456,7 @@
BeginFrameArgs begin_frame_args(BeginFrameArgs::Create(
BEGINFRAME_FROM_HERE, BeginFrameArgs::kManualSourceId, 1,
- BeginFrameArgs::kDefaultSourceFrameNumber, frame_begin_time,
- base::TimeTicks(), BeginFrameArgs::DefaultInterval(),
+ frame_begin_time, base::TimeTicks(), BeginFrameArgs::DefaultInterval(),
BeginFrameArgs::NORMAL));
// Start the impl frame.
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | content/browser/compositor/gpu_vsync_begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698