Index: src/core/SkReadBuffer.h |
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h |
index 46f6b818daf5b6149308c697d82cdbc9e6b9a762..48edcfe7620e1018e940b68ac17e73724d85f35a 100644 |
--- a/src/core/SkReadBuffer.h |
+++ b/src/core/SkReadBuffer.h |
@@ -197,23 +197,11 @@ public: |
* were created/written by the writer. SkPicture uses this. |
*/ |
void setFactoryPlayback(SkFlattenable::Factory array[], int count) { |
- fFactoryTDArray = nullptr; |
fFactoryArray = array; |
fFactoryCount = count; |
} |
/** |
- * Call this with an initially empty array, so the reader can cache each |
- * factory it sees by name. Used by the pipe code in conjunction with |
- * SkWriteBuffer::setNamedFactoryRecorder. |
- */ |
- void setFactoryArray(SkTDArray<SkFlattenable::Factory>* array) { |
msarett
2016/03/31 15:05:35
Nobody calls this.
|
- fFactoryTDArray = array; |
- fFactoryArray = nullptr; |
- fFactoryCount = 0; |
- } |
- |
- /** |
* Provide a function to decode an SkBitmap from encoded data. Only used if the writer |
* encoded the SkBitmap. If the proper decoder cannot be used, a red bitmap with the |
* appropriate size will be used. |
@@ -242,7 +230,6 @@ private: |
SkTypeface** fTFArray; |
int fTFCount; |
- SkTDArray<SkFlattenable::Factory>* fFactoryTDArray; |
SkFlattenable::Factory* fFactoryArray; |
int fFactoryCount; |