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

Unified Diff: cc/trees/thread_proxy.cc

Issue 16863005: cc: Add BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc12
Patch Set: Created 7 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
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 020c255a5cdaacd4c024e69352ef22bc9c039f02..2ebf5c000ae3ddbdeea691269f86fa8fa47f00ab 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -356,10 +356,10 @@ void ThreadProxy::SetNeedsBeginFrameOnImplThread(bool enable) {
layer_tree_host_impl_->SetNeedsBeginFrame(enable);
}
-void ThreadProxy::BeginFrameOnImplThread(base::TimeTicks frame_time) {
+void ThreadProxy::BeginFrameOnImplThread(BeginFrameArgs args) {
DCHECK(IsImplThread());
TRACE_EVENT0("cc", "ThreadProxy::BeginFrameOnImplThread");
- scheduler_on_impl_thread_->BeginFrame(frame_time);
+ scheduler_on_impl_thread_->BeginFrame(args);
}
void ThreadProxy::OnCanDrawStateChanged(bool can_draw) {

Powered by Google App Engine
This is Rietveld 408576698