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

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 184023002: Change LayerHostImpl to use frame time from BeginFrameArgs rather than ::Now() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing background ticking, trying to fix tests, lots of other small updates. Created 6 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/test/fake_layer_tree_host_impl.cc
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index 8c39d2e9ce7e93bb09ed21a7b75f70565a16a84e..8bfeb5e7dcd34c87bae8d7ce9dcba8affbe98a0f 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -40,7 +40,7 @@ void FakeLayerTreeHostImpl::CreatePendingTree() {
1.f, 1.f / arbitrary_large_page_scale, arbitrary_large_page_scale);
}
-base::TimeTicks FakeLayerTreeHostImpl::CurrentFrameTimeTicks() {
+base::TimeTicks FakeLayerTreeHostImpl::CurrentFrameTimeTicks() const {
if (current_frame_time_ticks_.is_null())
return LayerTreeHostImpl::CurrentFrameTimeTicks();
return current_frame_time_ticks_;

Powered by Google App Engine
This is Rietveld 408576698