diff options
author | mtklein <mtklein@chromium.org> | 2016-04-29 14:45:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-29 14:45:36 -0700 |
commit | 4d9ff62fa21326003cf5394cd1d16f4b4633102a (patch) | |
tree | 4747bd2d2b17d96ed17bf27066d0c7b024ffe1a7 /src/core/SkPicture.cpp | |
parent | 221196dac99dcbb402fd79c651e2a96fd5016dba (diff) |
Remove SkWriter32::contiguousArray().
This method requires SkWriter32 have a contiguous array.
It does, and I plan to keep it that way (last time we checked
it's faster), but this turns that feature back into an
implementation detail.
This feature is only used by another unused feature, deep copies of
ops arrays in SkPictureData. Kill that, kill this.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1932223003
Depends on https://codereview.chromium.org/1936563002/
Only deleting API
TBR=reed@google.com
Review-Url: https://codereview.chromium.org/1932223003
Diffstat (limited to 'src/core/SkPicture.cpp')
-rw-r--r-- | src/core/SkPicture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp index dfedd141db..94c13950db 100644 --- a/src/core/SkPicture.cpp +++ b/src/core/SkPicture.cpp @@ -181,7 +181,7 @@ SkPictureData* SkPicture::backport() const { rec.beginRecording(); this->playback(&rec); rec.endRecording(); - return new SkPictureData(rec, info, false /*deep copy ops?*/); + return new SkPictureData(rec, info); } void SkPicture::serialize(SkWStream* stream, SkPixelSerializer* pixelSerializer) const { |