Index: src/core/SkPictureFlat.h |
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h |
index 40f6a0a803d5301671b89a42a49904a619893f5f..61c48135974cd7d8f8b6a264d820e647fa82cbd5 100644 |
--- a/src/core/SkPictureFlat.h |
+++ b/src/core/SkPictureFlat.h |
@@ -18,7 +18,6 @@ |
#include "SkPicture.h" |
#include "SkPtrRecorder.h" |
#include "SkTDynamicHash.h" |
-#include "SkTRefArray.h" |
enum DrawType { |
UNUSED, |
@@ -449,22 +448,6 @@ public: |
} |
/** |
- * Unflatten the objects and return them in SkTRefArray, or return NULL |
- * if there no objects. Caller takes ownership of result. |
- */ |
- SkTRefArray<T>* unflattenToArray() const { |
- const int count = this->count(); |
- if (count == 0) { |
- return NULL; |
- } |
- SkTRefArray<T>* array = SkTRefArray<T>::Create(count); |
- for (int i = 0; i < count; i++) { |
- this->unflatten(&array->writableAt(i), fIndexedData[i]); |
- } |
- return array; |
- } |
- |
- /** |
* Unflatten the specific object at the given index. |
* Caller takes ownership of the result. |
*/ |