aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkReadBuffer.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-12-13 08:22:13 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-13 13:41:32 +0000
commitc8226728541fdd6434a7f1b97678246202b0edc5 (patch)
tree3443b3f2f2fb5408b3abe999390470ef0c35eff0 /src/core/SkReadBuffer.h
parent526c39f41f62f9ab82ebbeb30cc8762bb0eaa417 (diff)
impl SkSerial picture procs
The picture serialization code is a bit of a mess, with duplicated functions for streams and buffers. Could not see how to fix that and land this at the same time, but I will try to circle back and simplify if possible afterwards. Bug: skia: Change-Id: I9053fdc476c60f483df013d021e248258181c199 Reviewed-on: https://skia-review.googlesource.com/83943 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkReadBuffer.h')
-rw-r--r--src/core/SkReadBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h
index 61f1915e19..4c0ca9bec2 100644
--- a/src/core/SkReadBuffer.h
+++ b/src/core/SkReadBuffer.h
@@ -292,6 +292,7 @@ private:
SkTHashMap<SkString, SkFlattenable::Factory> fCustomFactory;
SkDeserialProcs fProcs;
+ friend class SkPicture;
#ifdef DEBUG_NON_DETERMINISTIC_ASSERT
// Debugging counter to keep track of how many bitmaps we