aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkReadBuffer.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-03-31 08:25:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-31 08:25:19 -0700
commitd19d83ce5e3e388fadea0e02d99a645364d41640 (patch)
tree66ab2b780f53d3f23a1ac36cb4c97083d3c52695 /src/core/SkReadBuffer.h
parent9db0427423db995618e3bbf6da5dc6d69442436a (diff)
Remode dead code from SkReadBuffer
Diffstat (limited to 'src/core/SkReadBuffer.h')
-rw-r--r--src/core/SkReadBuffer.h13
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;