Index: cc/proxy.h |
diff --git a/cc/proxy.h b/cc/proxy.h |
index daddadeeb10ed45e697faa59f50b8cc283dccd5d..4eb63ad265a1442517aec018746c2b9e77f33d27 100644 |
--- a/cc/proxy.h |
+++ b/cc/proxy.h |
@@ -9,10 +9,13 @@ |
#include "base/logging.h" |
#include <public/WebCompositorOutputSurface.h> |
+namespace gfx { |
+class Rect; |
+} |
+ |
namespace cc { |
class Thread; |
-class IntRect; |
class IntSize; |
struct RenderingStats; |
struct RendererCapabilities; |
@@ -33,7 +36,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, double durationSec) = 0; |