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

Unified Diff: include/effects/SkTestImageFilters.h

Issue 25430005: Fix for potential typedef issue Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/effects/SkTableMaskFilter.h ('k') | include/effects/SkTransparentShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkTestImageFilters.h
diff --git a/include/effects/SkTestImageFilters.h b/include/effects/SkTestImageFilters.h
index e848ff106899c3af076229af76340447ea500ff3..ea0fda9214bdc650fb76d1a8e704d1a47fc185f6 100755
--- a/include/effects/SkTestImageFilters.h
+++ b/include/effects/SkTestImageFilters.h
@@ -6,6 +6,8 @@
// Fun mode that scales down (only) and then scales back up to look pixelated
class SK_API SkDownSampleImageFilter : public SkImageFilter {
+ typedef SkImageFilter INHERITED;
+
public:
SkDownSampleImageFilter(SkScalar scale) : INHERITED(0), fScale(scale) {}
@@ -20,8 +22,6 @@ protected:
private:
SkScalar fScale;
-
- typedef SkImageFilter INHERITED;
};
#endif
« no previous file with comments | « include/effects/SkTableMaskFilter.h ('k') | include/effects/SkTransparentShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698