Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Side by Side Diff: src/codec/SkCodecImageGenerator.h

Issue 2212493002: Convert SkAutoTUnref<SkData> to sk_sp<SkData>. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samplecode/SampleFilterFuzz.cpp ('k') | src/core/SkImageCacherator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkCodec.h" 8 #include "SkCodec.h"
9 #include "SkData.h" 9 #include "SkData.h"
10 #include "SkImageGenerator.h" 10 #include "SkImageGenerator.h"
(...skipping 20 matching lines...) Expand all
31 bool onGetYUV8Planes(const SkYUVSizeInfo&, void* planes[3]) override; 31 bool onGetYUV8Planes(const SkYUVSizeInfo&, void* planes[3]) override;
32 32
33 private: 33 private:
34 /* 34 /*
35 * Takes ownership of codec 35 * Takes ownership of codec
36 * Refs the data 36 * Refs the data
37 */ 37 */
38 SkCodecImageGenerator(SkCodec* codec, SkData* data); 38 SkCodecImageGenerator(SkCodec* codec, SkData* data);
39 39
40 SkAutoTDelete<SkCodec> fCodec; 40 SkAutoTDelete<SkCodec> fCodec;
41 SkAutoTUnref<SkData> fData; 41 sk_sp<SkData> fData;
42 42
43 typedef SkImageGenerator INHERITED; 43 typedef SkImageGenerator INHERITED;
44 }; 44 };
OLDNEW
« no previous file with comments | « samplecode/SampleFilterFuzz.cpp ('k') | src/core/SkImageCacherator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698