diff options
author | 2016-03-31 08:25:19 -0700 | |
---|---|---|
committer | 2016-03-31 08:25:19 -0700 | |
commit | d19d83ce5e3e388fadea0e02d99a645364d41640 (patch) | |
tree | 66ab2b780f53d3f23a1ac36cb4c97083d3c52695 /src/core/SkReadBuffer.h | |
parent | 9db0427423db995618e3bbf6da5dc6d69442436a (diff) |
Remode dead code from SkReadBuffer
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1845283002
Review URL: https://codereview.chromium.org/1845283002
Diffstat (limited to 'src/core/SkReadBuffer.h')
-rw-r--r-- | src/core/SkReadBuffer.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h index 960f2a3687..a9983989cc 100644 --- a/src/core/SkReadBuffer.h +++ b/src/core/SkReadBuffer.h @@ -199,23 +199,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) { - 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. @@ -244,7 +232,6 @@ private: SkTypeface** fTFArray; int fTFCount; - SkTDArray<SkFlattenable::Factory>* fFactoryTDArray; SkFlattenable::Factory* fFactoryArray; int fFactoryCount; |