diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-06-13 13:26:59 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-06-13 13:26:59 -0700 |
commit | 4eb5f622ae8a529cdf2a2fe6347e6bd97b5f28cb (patch) | |
tree | 58f279d58679e524a437e7b581ef42e5a9bd5ad8 /include | |
parent | 2c0116a6929eab6e3a31d03a7389a28673927bb3 (diff) | |
parent | 6d8b2f6f345bd0722bd0a6c16448fbf32e5d1226 (diff) | |
download | external_skia-4eb5f622ae8a529cdf2a2fe6347e6bd97b5f28cb.zip external_skia-4eb5f622ae8a529cdf2a2fe6347e6bd97b5f28cb.tar.gz external_skia-4eb5f622ae8a529cdf2a2fe6347e6bd97b5f28cb.tar.bz2 |
Merge "Fix build - restore older behaviors"
Diffstat (limited to 'include')
-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 8627ae4..acc4f9b 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 */ - void addLayer(SkScalar dx, SkScalar dy); + SkPaint* addLayer(SkScalar dx, SkScalar dy); /** * This layer will with the original paint and no offset. */ - void addLayer() { this->addLayer(0, 0); } + SkPaint* addLayer() { return this->addLayer(0, 0); } // overrides from SkDrawLooper virtual void init(SkCanvas*); |