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

Unified Diff: cc/CCThreadedTest.cpp

Issue 10956006: Convert CC scheduler logic to use base::TimeTicks/Delta instead of doubles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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/CCThreadedTest.h ('k') | cc/CCTimeSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCThreadedTest.cpp
diff --git a/cc/CCThreadedTest.cpp b/cc/CCThreadedTest.cpp
index 4a1f2cbb49eb554eb0282a2d561c8f62f9bcee6f..b36ff33ef252c29f13fa9cd2d73d66b04d4ec3fa 100644
--- a/cc/CCThreadedTest.cpp
+++ b/cc/CCThreadedTest.cpp
@@ -120,9 +120,9 @@ void MockLayerTreeHostImpl::animateLayers(double monotonicTime, double wallClock
m_testHooks->animateLayers(this, monotonicTime);
}
-double MockLayerTreeHostImpl::lowFrequencyAnimationInterval() const
+base::TimeDelta MockLayerTreeHostImpl::lowFrequencyAnimationInterval() const
{
- return 1.0 / 60;
+ return base::TimeDelta::FromMilliseconds(16);
}
MockLayerTreeHostImpl::MockLayerTreeHostImpl(TestHooks* testHooks, const CCLayerTreeSettings& settings, CCLayerTreeHostImplClient* client)
« no previous file with comments | « cc/CCThreadedTest.h ('k') | cc/CCTimeSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698