From 6d8b2f6f345bd0722bd0a6c16448fbf32e5d1226 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Mon, 13 Jun 2011 13:26:18 -0700 Subject: Fix build - restore older behaviors Change-Id: Ie9f88806b1083f0b4ef99731bd4f1e42fff467fe --- include/effects/SkLayerDrawLooper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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*); -- cgit v1.1