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

Unified Diff: cc/CCLayerTreeHostImpl.h

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/CCFrameRateControllerTest.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostImpl.h
diff --git a/cc/CCLayerTreeHostImpl.h b/cc/CCLayerTreeHostImpl.h
index c0f3c1c6740b4d1e80d83e2ea41a1b6c1eaf365b..08f6028c7461dc979b8651669f30b07d3071ba5d 100644
--- a/cc/CCLayerTreeHostImpl.h
+++ b/cc/CCLayerTreeHostImpl.h
@@ -12,6 +12,7 @@
#include "CCRenderPassSink.h"
#include "CCRenderer.h"
#include "SkColor.h"
+#include "base/time.h"
#include <public/WebCompositorOutputSurfaceClient.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/RefPtr.h>
@@ -217,8 +218,8 @@ protected:
// Virtual for testing.
virtual void animateLayers(double monotonicTime, double wallClockTime);
- // Virtual for testing. Measured in seconds.
- virtual double lowFrequencyAnimationInterval() const;
+ // Virtual for testing.
+ virtual base::TimeDelta lowFrequencyAnimationInterval() const;
CCLayerTreeHostImplClient* m_client;
int m_sourceFrameNumber;
« no previous file with comments | « cc/CCFrameRateControllerTest.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698