Revert the rest of r13757.
git-svn-id: http://skia.googlecode.com/svn/trunk@13759 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e60ae2eca3
commit
ad07e69d4c
@ -8,7 +8,6 @@
|
||||
#ifndef SkOTTableTypes_DEFINED
|
||||
#define SkOTTableTypes_DEFINED
|
||||
|
||||
#include "SkTemplates.h"
|
||||
#include "SkTypes.h"
|
||||
#include "SkEndian.h"
|
||||
|
||||
@ -46,16 +45,4 @@ public:
|
||||
);
|
||||
};
|
||||
|
||||
/** SkOTSetUSHORTBit<N>::value is an SK_OT_USHORT with the Nth BE bit set. */
|
||||
template <unsigned N> struct SkOTSetUSHORTBit {
|
||||
static const uint16_t bit = SkTSetBit<N, uint16_t>::value;
|
||||
static const SK_OT_USHORT value = SkTEndian_SwapBE16(bit);
|
||||
};
|
||||
|
||||
/** SkOTSetUSHORTBit<N>::value is an SK_OT_ULONG with the Nth BE bit set. */
|
||||
template <unsigned N> struct SkOTSetULONGBit {
|
||||
static const uint32_t bit = SkTSetBit<N, uint32_t>::value;
|
||||
static const SK_OT_ULONG value = SkTEndian_SwapBE32(bit);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user