diff options
author | Derek Sollenberger <djsollen@google.com> | 2014-02-19 16:47:32 +0000 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2014-02-20 16:20:33 -0500 |
commit | 674554fc36932ca50b15bba41ac6f650254d4e72 (patch) | |
tree | ec0fc936ce4fdbd15d8bf6e15348676194855b8a /libs/hwui/Layer.h | |
parent | 96f0369b25811319398a268071eb147fe14a09e3 (diff) | |
download | frameworks_base-674554fc36932ca50b15bba41ac6f650254d4e72.zip frameworks_base-674554fc36932ca50b15bba41ac6f650254d4e72.tar.gz frameworks_base-674554fc36932ca50b15bba41ac6f650254d4e72.tar.bz2 |
Reapply "Refactor setting an SkPaint onto a hwui Layer."
This reverts commit 90d0c75e94a32fb7d993fae69762820aabc2fcbb.
Change-Id: Ie807761231edf7c848b019931dccbf466208c0be
Diffstat (limited to 'libs/hwui/Layer.h')
-rw-r--r-- | libs/hwui/Layer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h index ec80e9c..8cc027a 100644 --- a/libs/hwui/Layer.h +++ b/libs/hwui/Layer.h @@ -117,7 +117,7 @@ public: texture.height = height; } - ANDROID_API void setPaint(SkPaint* paint); + ANDROID_API void setPaint(const SkPaint* paint); inline void setBlend(bool blend) { texture.blend = blend; |