diff options
author | 2014-05-30 11:51:20 -0700 | |
---|---|---|
committer | 2014-05-30 11:51:20 -0700 | |
commit | 25e40de45f89490f03ca010a88d2265d9c901493 (patch) | |
tree | b546d2ffc3907bb4dbdaaa29dad77ed7e25caa1d /libs/hwui/PathCache.h | |
parent | 26e8f040ba383dc44c25013692748cc27e50799d (diff) | |
parent | b68f5f0932511fb9975b7e04eebe48707af59e0a (diff) |
resolved conflicts for merge of b68f5f09 to master
Change-Id: Ib8dd3a353f40a3357c8dc5ac591cd5e3ab4d0a4b
Diffstat (limited to 'libs/hwui/PathCache.h')
-rw-r--r-- | libs/hwui/PathCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/PathCache.h b/libs/hwui/PathCache.h index 847853a58a42..bcfb367ea7d1 100644 --- a/libs/hwui/PathCache.h +++ b/libs/hwui/PathCache.h @@ -293,7 +293,7 @@ private: class PathTask: public Task<SkBitmap*> { public: PathTask(const SkPath* path, const SkPaint* paint, PathTexture* texture): - path(path), paint(paint), texture(texture) { + path(path), paint(*paint), texture(texture) { } ~PathTask() { @@ -301,7 +301,8 @@ private: } const SkPath* path; - const SkPaint* paint; + //copied, since input paint may not be immutable + const SkPaint paint; PathTexture* texture; }; |