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

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

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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 | « include/effects/SkTestImageFilters.h ('k') | include/effects/SkTransparentShader.h » ('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 2013 Google Inc. 2 * Copyright 2013 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 SkTileImageFilter_DEFINED 8 #ifndef SkTileImageFilter_DEFINED
9 #define SkTileImageFilter_DEFINED 9 #define SkTileImageFilter_DEFINED
10 10
(...skipping 16 matching lines...) Expand all
27 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, 27 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&,
28 SkIRect* dst) const SK_OVERRIDE; 28 SkIRect* dst) const SK_OVERRIDE;
29 29
30 SK_TO_STRING_OVERRIDE() 30 SK_TO_STRING_OVERRIDE()
31 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkTileImageFilter) 31 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkTileImageFilter)
32 32
33 protected: 33 protected:
34 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilte r* input, uint32_t uniqueID) 34 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilte r* input, uint32_t uniqueID)
35 : INHERITED(1, &input, NULL, uniqueID), fSrcRect(srcRect), fDstRect(dstR ect) {} 35 : INHERITED(1, &input, NULL, uniqueID), fSrcRect(srcRect), fDstRect(dstR ect) {}
36 36
37 virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; 37 void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE;
38 38
39 private: 39 private:
40 SkRect fSrcRect; 40 SkRect fSrcRect;
41 SkRect fDstRect; 41 SkRect fDstRect;
42 }; 42 };
43 43
44 #endif 44 #endif
OLDNEW
« no previous file with comments | « include/effects/SkTestImageFilters.h ('k') | include/effects/SkTransparentShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698