| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | |
| 10 | |
| 11 #ifndef GrTypes_DEFINED | 9 #ifndef GrTypes_DEFINED |
| 12 #define GrTypes_DEFINED | 10 #define GrTypes_DEFINED |
| 13 | 11 |
| 14 #include "SkTypes.h" | 12 #include "SkTypes.h" |
| 15 #include "GrConfig.h" | 13 #include "GrConfig.h" |
| 16 #include "SkMath.h" | 14 #include "SkMath.h" |
| 17 | 15 |
| 18 //#define SK_SUPPORT_LEGACY_GRTYPES | 16 //#define SK_SUPPORT_LEGACY_GRTYPES |
| 19 | 17 |
| 20 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 public: | 723 public: |
| 726 GrAutoMalloc() : INHERITED() {} | 724 GrAutoMalloc() : INHERITED() {} |
| 727 explicit GrAutoMalloc(size_t size) : INHERITED(size) {} | 725 explicit GrAutoMalloc(size_t size) : INHERITED(size) {} |
| 728 virtual ~GrAutoMalloc() {} | 726 virtual ~GrAutoMalloc() {} |
| 729 private: | 727 private: |
| 730 typedef GrAutoMallocBaseType INHERITED; | 728 typedef GrAutoMallocBaseType INHERITED; |
| 731 }; | 729 }; |
| 732 | 730 |
| 733 #undef GrAutoMallocBaseType | 731 #undef GrAutoMallocBaseType |
| 734 #endif | 732 #endif |
| OLD | NEW |