aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r--include/core/SkDevice.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index fcb118cee3..f817c65ddc 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -129,11 +129,6 @@ public:
*/
virtual SkGpuRenderTarget* accessRenderTarget() { return NULL; }
-protected:
- enum Usage {
- kGeneral_Usage,
- kSaveLayer_Usage, // <! internal use only
- };
/**
* Return the device's origin: its offset in device coordinates from
@@ -141,6 +136,12 @@ protected:
*/
const SkIPoint& getOrigin() const { return fOrigin; }
+protected:
+ enum Usage {
+ kGeneral_Usage,
+ kSaveLayer_Usage, // <! internal use only
+ };
+
struct TextFlags {
uint32_t fFlags; // SkPaint::getFlags()
SkPaint::Hinting fHinting;