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

Unified Diff: cc/CCLayerTreeHostImpl.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/CCLayerTreeHostImpl.h ('k') | cc/CCScheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostImpl.cpp
diff --git a/cc/CCLayerTreeHostImpl.cpp b/cc/CCLayerTreeHostImpl.cpp
index e91a7fcfea30cf470e1dd5c79944025ca208fb60..3c48367b27d42f458c6d7a903c6d0964fb689533 100644
--- a/cc/CCLayerTreeHostImpl.cpp
+++ b/cc/CCLayerTreeHostImpl.cpp
@@ -1217,9 +1217,9 @@ void CCLayerTreeHostImpl::animateLayers(double monotonicTime, double wallClockTi
setBackgroundTickingEnabled(!m_visible && m_needsAnimateLayers);
}
-double CCLayerTreeHostImpl::lowFrequencyAnimationInterval() const
+base::TimeDelta CCLayerTreeHostImpl::lowFrequencyAnimationInterval() const
{
- return 1;
+ return base::TimeDelta::FromSeconds(1);
}
void CCLayerTreeHostImpl::sendDidLoseContextRecursive(CCLayerImpl* current)
« no previous file with comments | « cc/CCLayerTreeHostImpl.h ('k') | cc/CCScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698