diff options
Diffstat (limited to 'cc/stubs/int_rect.h')
-rw-r--r-- | cc/stubs/int_rect.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/stubs/int_rect.h b/cc/stubs/int_rect.h index 4114d7b..c55ef96 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; |