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

Unified Diff: cc/test/layer_tree_test_common.h

Issue 11191068: Remove WTF::currentTime() / WTF::monotonicallyIncreasingTime() uses from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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/single_thread_proxy.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test_common.h
diff --git a/cc/test/layer_tree_test_common.h b/cc/test/layer_tree_test_common.h
index d1378c8ece1660e71947701f532a7a18b3477fbf..ea82b05ac73a2f1442d83cab503239bb47a9d5c4 100644
--- a/cc/test/layer_tree_test_common.h
+++ b/cc/test/layer_tree_test_common.h
@@ -30,10 +30,10 @@ public:
virtual void commitCompleteOnThread(cc::LayerTreeHostImpl*) { }
virtual bool prepareToDrawOnThread(cc::LayerTreeHostImpl*);
virtual void drawLayersOnThread(cc::LayerTreeHostImpl*) { }
- virtual void animateLayers(cc::LayerTreeHostImpl*, double monotonicTime) { }
- virtual void willAnimateLayers(cc::LayerTreeHostImpl*, double monotonicTime) { }
+ virtual void animateLayers(cc::LayerTreeHostImpl*, base::TimeTicks monotonicTime) { }
+ virtual void willAnimateLayers(cc::LayerTreeHostImpl*, base::TimeTicks monotonicTime) { }
virtual void applyScrollAndScale(const cc::IntSize&, float) { }
- virtual void animate(double monotonicTime) { }
+ virtual void animate(base::TimeTicks monotonicTime) { }
virtual void layout() { }
virtual void didRecreateOutputSurface(bool succeeded) { }
virtual void didAddAnimation() { }
@@ -158,7 +158,7 @@ public:
using LayerTreeHostImpl::calculateRenderSurfaceLayerList;
protected:
- virtual void animateLayers(double monotonicTime, double wallClockTime) OVERRIDE;
+ virtual void animateLayers(base::TimeTicks monotonicTime, base::Time wallClockTime) OVERRIDE;
virtual base::TimeDelta lowFrequencyAnimationInterval() const OVERRIDE;
private:
« no previous file with comments | « cc/single_thread_proxy.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698