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

Side by Side Diff: src/ports/SkImageGeneratorWIC.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 | « src/ports/SkImageGeneratorCG.h ('k') | tests/CodecTest.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 2016 Google Inc. 2 * Copyright 2016 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 "SkTypes.h" 8 #include "SkTypes.h"
9 9
10 #if defined(SK_BUILD_FOR_WIN) 10 #if defined(SK_BUILD_FOR_WIN)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 /* 48 /*
49 * Takes ownership of the imagingFactory 49 * Takes ownership of the imagingFactory
50 * Takes ownership of the imageSource 50 * Takes ownership of the imageSource
51 * Refs the data 51 * Refs the data
52 */ 52 */
53 SkImageGeneratorWIC(const SkImageInfo& info, IWICImagingFactory* imagingFact ory, 53 SkImageGeneratorWIC(const SkImageInfo& info, IWICImagingFactory* imagingFact ory,
54 IWICBitmapSource* imageSource, SkData* data); 54 IWICBitmapSource* imageSource, SkData* data);
55 55
56 SkTScopedComPtr<IWICImagingFactory> fImagingFactory; 56 SkTScopedComPtr<IWICImagingFactory> fImagingFactory;
57 SkTScopedComPtr<IWICBitmapSource> fImageSource; 57 SkTScopedComPtr<IWICBitmapSource> fImageSource;
58 SkAutoTUnref<SkData> fData; 58 sk_sp<SkData> fData;
59 59
60 typedef SkImageGenerator INHERITED; 60 typedef SkImageGenerator INHERITED;
61 }; 61 };
62 62
63 #endif // SK_BUILD_FOR_WIN 63 #endif // SK_BUILD_FOR_WIN
OLDNEW
« no previous file with comments | « src/ports/SkImageGeneratorCG.h ('k') | tests/CodecTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698