Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(732)

Unified Diff: cc/stubs/int_rect.h

Issue 11266030: Use gfx:: Geometry types for the resource provider and layer updater classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uint8 Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/software_renderer_unittest.cc ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/software_renderer_unittest.cc ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698