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

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

Issue 1216433005: style nit cleanups. e.g. remove 'virtual' on override declarations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address code review issues Created 5 years, 5 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 | include/effects/SkMorphologyImageFilter.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 2012 The Android Open Source Project 2 * Copyright 2012 The Android Open Source Project
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 SkBitmapSource_DEFINED 8 #ifndef SkBitmapSource_DEFINED
9 #define SkBitmapSource_DEFINED 9 #define SkBitmapSource_DEFINED
10 10
(...skipping 15 matching lines...) Expand all
26 SK_TO_STRING_OVERRIDE() 26 SK_TO_STRING_OVERRIDE()
27 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBitmapSource) 27 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBitmapSource)
28 28
29 protected: 29 protected:
30 explicit SkBitmapSource(const SkBitmap& bitmap); 30 explicit SkBitmapSource(const SkBitmap& bitmap);
31 SkBitmapSource(const SkBitmap& bitmap, 31 SkBitmapSource(const SkBitmap& bitmap,
32 const SkRect& srcRect, const SkRect& dstRect, 32 const SkRect& srcRect, const SkRect& dstRect,
33 SkFilterQuality filterQuality); 33 SkFilterQuality filterQuality);
34 void flatten(SkWriteBuffer&) const override; 34 void flatten(SkWriteBuffer&) const override;
35 35
36 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 36 bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
37 SkBitmap* result, SkIPoint* offset) const overrid e; 37 SkBitmap* result, SkIPoint* offset) const override;
38 38
39 private: 39 private:
40 SkBitmap fBitmap; 40 SkBitmap fBitmap;
41 SkRect fSrcRect, fDstRect; 41 SkRect fSrcRect, fDstRect;
42 SkFilterQuality fFilterQuality; 42 SkFilterQuality fFilterQuality;
43 43
44 typedef SkImageFilter INHERITED; 44 typedef SkImageFilter INHERITED;
45 }; 45 };
46 46
47 #endif 47 #endif
OLDNEW
« no previous file with comments | « no previous file | include/effects/SkMorphologyImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698