diff options
Diffstat (limited to 'include/effects/SkLayerDrawLooper.h')
-rw-r--r-- | include/effects/SkLayerDrawLooper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h index acc4f9b..8627ae4 100644 --- a/include/effects/SkLayerDrawLooper.h +++ b/include/effects/SkLayerDrawLooper.h @@ -74,12 +74,12 @@ public: /** * This layer will draw with the original paint, ad the specified offset */ - SkPaint* addLayer(SkScalar dx, SkScalar dy); + void addLayer(SkScalar dx, SkScalar dy); /** * This layer will with the original paint and no offset. */ - SkPaint* addLayer() { return this->addLayer(0, 0); } + void addLayer() { this->addLayer(0, 0); } // overrides from SkDrawLooper virtual void init(SkCanvas*); |