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

Unified Diff: cc/stubs/FloatPoint.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/FloatPoint.h
diff --git a/cc/stubs/FloatPoint.h b/cc/stubs/FloatPoint.h
index 4ce268188aa7ee6f97d8945426f71c013ae55194..b449d28f39d3024111a723779ec503f77d5d1bfd 100644
--- a/cc/stubs/FloatPoint.h
+++ b/cc/stubs/FloatPoint.h
@@ -12,6 +12,7 @@
#else
#include "third_party/WebKit/Source/WebCore/platform/graphics/FloatPoint.h"
#endif
+#include "cc/math/float_point.h"
namespace cc {
@@ -44,6 +45,8 @@ public:
{
}
+
+ operator ccmath::FloatPoint() const { return ccmath::FloatPoint(x(), y()); }
};
}
« cc/math/int_point.h ('K') | « cc/math/int_vector_2d.h ('k') | cc/stubs/FloatRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698