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

Unified Diff: cc/layer_tree_host.cc

Issue 12804006: cc: Save correct frame begin time to FrameRateCounter (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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/layer_tree_host.cc
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index c4e8dd43c6925406fe7273923314edcd073609f1..9d25c8e4d6fed85c44f7ab63d4c260462186af2b 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -534,10 +534,10 @@ PrioritizedResourceManager* LayerTreeHost::contentsTextureManager() const
return m_contentsTextureManager.get();
}
-void LayerTreeHost::composite()
+void LayerTreeHost::composite(base::TimeTicks frameBeginTime)
{
if (!m_proxy->HasImplThread())
- static_cast<SingleThreadProxy*>(m_proxy.get())->CompositeImmediately();
+ static_cast<SingleThreadProxy*>(m_proxy.get())->CompositeImmediately(frameBeginTime);
else
setNeedsCommit();
}
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/layer_tree_host_impl.h » ('j') | cc/layer_tree_host_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698