diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 00:06:29 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 00:06:29 +0000 |
commit | 30faac90dedf380f50bb2beab7234662c11ea1d0 (patch) | |
tree | 592e74095ae0d91503bc260f184134d6e18e522b /cc/single_thread_proxy.h | |
parent | 0d7498e4e1f0bfdd2639d1e3e4dd501a2f0be479 (diff) | |
download | chromium_src-30faac90dedf380f50bb2beab7234662c11ea1d0.zip chromium_src-30faac90dedf380f50bb2beab7234662c11ea1d0.tar.gz chromium_src-30faac90dedf380f50bb2beab7234662c11ea1d0.tar.bz2 |
Remove WTF::currentTime() / WTF::monotonicallyIncreasingTime() uses from cc
These are implemented on top of WebKit::Platform via webkit_wtf_support and need
to go.
BUG=154451
Review URL: https://chromiumcodereview.appspot.com/11191068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/single_thread_proxy.h')
-rw-r--r-- | cc/single_thread_proxy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h index ca6769f..93f8c09 100644 --- a/cc/single_thread_proxy.h +++ b/cc/single_thread_proxy.h @@ -23,7 +23,7 @@ public: // Proxy implementation virtual bool compositeAndReadback(void *pixels, const IntRect&) OVERRIDE; - virtual void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, double duration) OVERRIDE; + virtual void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, base::TimeDelta duration) OVERRIDE; virtual void finishAllRendering() OVERRIDE; virtual bool isStarted() const OVERRIDE; virtual bool initializeContext() OVERRIDE; @@ -49,11 +49,11 @@ public: // LayerTreeHostImplClient implementation virtual void didLoseContextOnImplThread() OVERRIDE { } virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE; - virtual void onVSyncParametersChanged(double monotonicTimebase, double intervalInSeconds) OVERRIDE { } + virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDelta interval) OVERRIDE { } virtual void onCanDrawStateChanged(bool canDraw) OVERRIDE { } virtual void setNeedsRedrawOnImplThread() OVERRIDE; virtual void setNeedsCommitOnImplThread() OVERRIDE; - virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, double wallClockTime) OVERRIDE; + virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE; virtual bool reduceContentsTextureMemoryOnImplThread(size_t limitBytes, int priorityCutoff) OVERRIDE; virtual void sendManagedMemoryStats() OVERRIDE; |