From cf817fb1eddd3ab76b074029739828c4072b567b Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Mon, 5 Nov 2012 17:17:34 +0000 Subject: Revert "cc: Remove all remaining use of WebCore Rect/Point/Size types from the compositor." This reverts commit a76cb24ab8de742f70b83f6c045c2c23545eaae7. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165949 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/thread_proxy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/thread_proxy.h') diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h index 7e14347..1a24ec5 100644 --- a/cc/thread_proxy.h +++ b/cc/thread_proxy.h @@ -30,7 +30,7 @@ public: // Proxy implementation virtual bool compositeAndReadback(void *pixels, const gfx::Rect&) OVERRIDE; - virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnchor, float scale, base::TimeDelta 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; @@ -111,7 +111,7 @@ private: void beginFrameCompleteOnImplThread(CompletionEvent*, ResourceUpdateQueue*); void beginFrameAbortedOnImplThread(); void requestReadbackOnImplThread(ReadbackRequest*); - void requestStartPageScaleAnimationOnImplThread(gfx::Vector2d targetOffset, bool useAnchor, float scale, base::TimeDelta duration); + void requestStartPageScaleAnimationOnImplThread(IntSize targetPosition, bool useAnchor, float scale, base::TimeDelta duration); void finishAllRenderingOnImplThread(CompletionEvent*); void initializeImplOnImplThread(CompletionEvent*, InputHandler*); void setSurfaceReadyOnImplThread(); -- cgit v1.1