diff options
author | 2015-04-20 14:54:49 -0700 | |
---|---|---|
committer | 2015-04-20 14:54:49 -0700 | |
commit | dee66b6d99dec8bc97843542d5388e50ebd0f6ee (patch) | |
tree | b11d6264cd3fa93e6f7ba9806642109facd233d5 /libs/hwui/PathCache.cpp | |
parent | 19f1faa376c08edbd2c7e19ad33107e1b9520777 (diff) |
Simplify TaskManager fallback path
Change-Id: Ie3833449f7fe6aa69b9f71eb8bab1bef0fe434aa
Diffstat (limited to 'libs/hwui/PathCache.cpp')
-rw-r--r-- | libs/hwui/PathCache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index 27030728df7f..bdb44a694118 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp @@ -446,9 +446,7 @@ void PathCache::precache(const SkPath* path, const SkPaint* paint) { if (mProcessor == nullptr) { mProcessor = new PathProcessor(Caches::getInstance()); } - if (!mProcessor->add(task)) { - mProcessor->process(task); - } + mProcessor->add(task); } } |