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

Side by Side Diff: include/effects/SkImageSource.h

Issue 1812023002: Switch SkSpecialImage & SkSpecialSurface classes over to smart pointers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT (again) Created 4 years, 9 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 | « no previous file | src/core/SkCanvas.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 #ifndef SkImageSource_DEFINED 8 #ifndef SkImageSource_DEFINED
9 #define SkImageSource_DEFINED 9 #define SkImageSource_DEFINED
10 10
(...skipping 20 matching lines...) Expand all
31 SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&, 31 SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&,
32 SkIPoint* offset) const override; 32 SkIPoint* offset) const override;
33 33
34 private: 34 private:
35 explicit SkImageSource(const SkImage*); 35 explicit SkImageSource(const SkImage*);
36 SkImageSource(const SkImage*, 36 SkImageSource(const SkImage*,
37 const SkRect& srcRect, 37 const SkRect& srcRect,
38 const SkRect& dstRect, 38 const SkRect& dstRect,
39 SkFilterQuality); 39 SkFilterQuality);
40 40
41 SkAutoTUnref<const SkImage> fImage; 41 sk_sp<const SkImage> fImage;
reed1 2016/03/17 19:49:24 no consty here
robertphillips 2016/03/17 20:14:15 Done.
42 SkRect fSrcRect, fDstRect; 42 SkRect fSrcRect, fDstRect;
43 SkFilterQuality fFilterQuality; 43 SkFilterQuality fFilterQuality;
44 44
45 typedef SkImageFilter INHERITED; 45 typedef SkImageFilter INHERITED;
46 }; 46 };
47 47
48 #endif 48 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698