diff options
Diffstat (limited to 'src/core/SkSpecialImage.cpp')
-rw-r--r-- | src/core/SkSpecialImage.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkSpecialImage.cpp b/src/core/SkSpecialImage.cpp index 0853432d79..a142576c2e 100644 --- a/src/core/SkSpecialImage.cpp +++ b/src/core/SkSpecialImage.cpp @@ -218,11 +218,6 @@ public: , fBitmap(bm) { SkASSERT(bm.pixelRef()); - - // We have to lock now, while bm is still in scope, since it may have come from our - // cache, which means we need to keep it locked until we (the special) are done, since - // we cannot re-generate the cache entry (if bm came from a generator). - fBitmap.lockPixels(); SkASSERT(fBitmap.getPixels()); } |