Implement SingleThreadProxy::SetEstimatedParentDrawTime
Review URL: https://codereview.chromium.org/1007023002
Cr-Commit-Position: refs/heads/master@{#320591}
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 81c70f0..1ecce4d 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -488,6 +488,11 @@
scheduler_on_impl_thread_->CommitVSyncParameters(timebase, interval);
}
+void SingleThreadProxy::SetEstimatedParentDrawTime(base::TimeDelta draw_time) {
+ if (scheduler_on_impl_thread_)
+ scheduler_on_impl_thread_->SetEstimatedParentDrawTime(draw_time);
+}
+
void SingleThreadProxy::DidSwapBuffersOnImplThread() {
TRACE_EVENT0("cc", "SingleThreadProxy::DidSwapBuffersOnImplThread");
if (scheduler_on_impl_thread_)