Index: cc/proxy.h |
diff --git a/cc/proxy.h b/cc/proxy.h |
index a0a53a3984d74af1e8de37613cf0a55658fc1bb4..7b1c7e8abf5faf46f3214db08dd1f015a95fa747 100644 |
--- a/cc/proxy.h |
+++ b/cc/proxy.h |
@@ -10,10 +10,13 @@ |
#include "base/time.h" |
#include <public/WebCompositorOutputSurface.h> |
+namespace gfx { |
+class Rect; |
+} |
+ |
namespace cc { |
class Thread; |
-class IntRect; |
class IntSize; |
struct RenderingStats; |
struct RendererCapabilities; |
@@ -34,7 +37,7 @@ public: |
virtual ~Proxy(); |
- virtual bool compositeAndReadback(void *pixels, const IntRect&) = 0; |
+ virtual bool compositeAndReadback(void *pixels, const gfx::Rect&) = 0; |
virtual void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, base::TimeDelta duration) = 0; |