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

Unified Diff: include/effects/SkStippleMaskFilter.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/SkRectShaderImageFilter.h ('k') | include/effects/SkTableMaskFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkStippleMaskFilter.h
diff --git a/include/effects/SkStippleMaskFilter.h b/include/effects/SkStippleMaskFilter.h
index 8f6d20d9ca87024b44acdfe1de93497c96bf5684..5b5c8bb689fe6a7dab5aba723a7ca609fc1253d9 100644
--- a/include/effects/SkStippleMaskFilter.h
+++ b/include/effects/SkStippleMaskFilter.h
@@ -14,6 +14,8 @@
* Simple MaskFilter that creates a screen door stipple pattern.
*/
class SK_API SkStippleMaskFilter : public SkMaskFilter {
+ typedef SkMaskFilter INHERITED;
+
public:
SkStippleMaskFilter() : INHERITED() {
}
@@ -34,9 +36,6 @@ protected:
SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)
: SkMaskFilter(buffer) {
}
-
-private:
- typedef SkMaskFilter INHERITED;
};
#endif // SkStippleMaskFilter_DEFINED
« no previous file with comments | « include/effects/SkRectShaderImageFilter.h ('k') | include/effects/SkTableMaskFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698