diff options
Diffstat (limited to 'libs/hwui/PathCache.cpp')
| -rw-r--r-- | libs/hwui/PathCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index a3d7019..37d70f2 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp @@ -196,7 +196,7 @@ void PathCache::setMaxSize(uint32_t maxSize) { // Callbacks /////////////////////////////////////////////////////////////////////////////// -void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { +void PathCache::operator()(PathDescription& /* entry */, PathTexture*& texture) { removeTexture(texture); } @@ -255,7 +255,7 @@ void PathCache::trim() { PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, const SkPaint* paint) { - ATRACE_CALL(); + ATRACE_NAME("Generate Path Texture"); float left, top, offset; uint32_t width, height; |
