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

Unified Diff: include/gpu/GrPoint.h

Issue 216503004: SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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 | « include/gpu/GrGlyph.h ('k') | include/gpu/GrTexture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrPoint.h
diff --git a/include/gpu/GrPoint.h b/include/gpu/GrPoint.h
index c987b01134286d309a81e16ae5d3e031eaba8cd3..7be5736f563b6fe544ab02222e7927dc40dba0c8 100644
--- a/include/gpu/GrPoint.h
+++ b/include/gpu/GrPoint.h
@@ -15,15 +15,17 @@
#include "SkScalar.h"
#include "SkPoint.h"
+#if 0
bsalomon 2014/03/28 15:13:39 Can we just delete this?
#define GrPoint SkPoint
#define GrVec SkVector
+#endif
struct GrIPoint16 {
int16_t fX, fY;
void set(intptr_t x, intptr_t y) {
- fX = GrToS16(x);
- fY = GrToS16(y);
+ fX = SkToS16(x);
+ fY = SkToS16(y);
}
};
« no previous file with comments | « include/gpu/GrGlyph.h ('k') | include/gpu/GrTexture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698