diff options
author | Leon Scroggins III <scroggo@google.com> | 2015-01-20 15:52:43 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2015-03-12 19:51:57 +0000 |
commit | 3449789b9ca58fee7e5cd02ff89d544f4a6bc9b5 (patch) | |
tree | 4bae1e5c337a33c8ae280a2aed7741ec29f400be /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c6ee744a90a4a84df93b6631ca7df8736ef320e1 (diff) |
SkStream is no longer a ref counted object.
With https://codereview.chromium.org/849103004/, SkStream is no longer
ref counted. Change callers that currently unref() SkStreams to one of
either:
- delete the stream
- pass ownership of the stream
screencap.cpp:
Call EncodeData directly, bypassing SkDynamicMemoryWStream and SkBitmap.
Utils.cpp:
Write directly to an SkData, and then use that to construct a new
SkStream.
Cherry-pick of a change that originally landed in master-skia and is
dependent on a skia merge (ag/655422).
Change-Id: Idc99ad7d5a70c893dc012d59915216f301ab3c9d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions