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

Unified Diff: cc/stubs/IntPoint.h

Issue 10984053: cc: Use ui/gfx geometry types for the CCRenderPass and CCDrawQuad classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
Index: cc/stubs/IntPoint.h
diff --git a/cc/stubs/IntPoint.h b/cc/stubs/IntPoint.h
index fa12deadd4c94311386cccd56eec27e170ea1288..1a7cf31e077b91d2bb006579d56fc7a52a31e27a 100644
--- a/cc/stubs/IntPoint.h
+++ b/cc/stubs/IntPoint.h
@@ -11,6 +11,7 @@
#else
#include "third_party/WebKit/Source/WebCore/platform/graphics/IntPoint.h"
#endif
+#include "cc/math/int_point.h"
namespace cc {
@@ -33,6 +34,8 @@ public:
{
}
+
+ operator ccmath::IntPoint() const { return ccmath::IntPoint(x(), y()); }
};
}
« cc/math/int_point.h ('K') | « cc/stubs/FloatSize.h ('k') | cc/stubs/IntRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698