diff options
author | Derek Sollenberger <djsollen@google.com> | 2014-02-11 11:46:49 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2014-02-12 11:26:06 -0500 |
commit | e889298cd6ae1fc0d76bc00d7d12586db03eb261 (patch) | |
tree | a2f5114d1ea5ff1265e28e2b01b4750d5d2741f3 /libs/hwui/Layer.h | |
parent | 826e51c4da2beac50c0ed1e1359787a0b69c878c (diff) |
Refactor setting an SkPaint onto a hwui Layer.
This CL removes the unecessary JNI call to set the colorFilter on
a layer.
Change-Id: I9e088f888938d4315745aa618334bfdb9e61343a
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 ec80e9c02d3d..8cc027ae117a 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; |