diff options
Diffstat (limited to 'include/effects/SkTransparentShader.h')
-rw-r--r-- | include/effects/SkTransparentShader.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/effects/SkTransparentShader.h b/include/effects/SkTransparentShader.h index 8bc60ff..5e87609 100644 --- a/include/effects/SkTransparentShader.h +++ b/include/effects/SkTransparentShader.h @@ -31,8 +31,7 @@ public: // overrides for SkFlattenable virtual Factory getFactory() { return Create; } - virtual void flatten(SkFlattenableWriteBuffer& buffer) - { + virtual void flatten(SkFlattenableWriteBuffer& buffer) { this->INHERITED::flatten(buffer); } @@ -43,8 +42,7 @@ private: SkTransparentShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} - static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) - { + static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) { return SkNEW_ARGS(SkTransparentShader, (buffer)); } |