Index: src/core/SkBitmapHeap.cpp |
diff --git a/src/core/SkBitmapHeap.cpp b/src/core/SkBitmapHeap.cpp |
index efaa23fc64acd5ec6687fc7283cb70aca3c8253a..07e65fb3e2801b38e152447aad681ceb666370a7 100644 |
--- a/src/core/SkBitmapHeap.cpp |
+++ b/src/core/SkBitmapHeap.cpp |
@@ -111,19 +111,6 @@ SkBitmapHeap::~SkBitmapHeap() { |
fLookupTable.deleteAll(); |
} |
-SkTRefArray<SkBitmap>* SkBitmapHeap::extractBitmaps() const { |
- const int size = fStorage.count(); |
- SkTRefArray<SkBitmap>* array = NULL; |
- if (size > 0) { |
- array = SkTRefArray<SkBitmap>::Create(size); |
- for (int i = 0; i < size; i++) { |
- // make a shallow copy of the bitmap |
- array->writableAt(i) = fStorage[i]->fBitmap; |
- } |
- } |
- return array; |
-} |
- |
void SkBitmapHeap::removeFromLRU(SkBitmapHeap::LookupEntry* entry) { |
if (fMostRecentlyUsed == entry) { |
fMostRecentlyUsed = entry->fLessRecentlyUsed; |