diff options
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkSize.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/core/SkSize.h b/include/core/SkSize.h index 808583f3e8..01c6e35083 100644 --- a/include/core/SkSize.h +++ b/include/core/SkSize.h @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * @@ -6,10 +5,11 @@ * found in the LICENSE file. */ - #ifndef SkSize_DEFINED #define SkSize_DEFINED +#include "SkScalar.h" + template <typename T> struct SkTSize { T fWidth; T fHeight; @@ -74,8 +74,6 @@ static inline bool operator!=(const SkTSize<T>& a, const SkTSize<T>& b) { typedef SkTSize<int32_t> SkISize; -#include "SkScalar.h" - struct SkSize : public SkTSize<SkScalar> { static SkSize Make(SkScalar w, SkScalar h) { SkSize s; |