 Chromium Code Reviews
 Chromium Code Reviews Issue 216503004:
  SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h  (Closed) 
  Base URL: https://skia.googlecode.com/svn/trunk
    
  
    Issue 216503004:
  SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h  (Closed) 
  Base URL: https://skia.googlecode.com/svn/trunk| 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); | 
| } | 
| }; |