Index: cc/stubs/int_rect.h |
diff --git a/cc/stubs/int_rect.h b/cc/stubs/int_rect.h |
index 4114d7ba0c061b6c4a01e8b007c181ee13687cca..c55ef96e59f7beebbb2bdc1e5577c37e8a2a42b9 100644 |
--- a/cc/stubs/int_rect.h |
+++ b/cc/stubs/int_rect.h |
@@ -47,6 +47,9 @@ public: |
operator gfx::Rect() const { return gfx::Rect(x(), y(), width(), height()); } |
+ IntPoint location() const { return WebCore::IntRect::location(); } |
+ IntSize size() const { return WebCore::IntRect::size(); } |
+ |
private: |
#if defined(OS_MACOSX) |
operator CGRect() const; |