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

Unified Diff: include/effects/SkEmbossMaskFilter.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/SkDropShadowImageFilter.h ('k') | include/effects/SkKernel33MaskFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkEmbossMaskFilter.h
diff --git a/include/effects/SkEmbossMaskFilter.h b/include/effects/SkEmbossMaskFilter.h
index 4b5bd6f983b402dec8faf9e15589bf7f982f9885..33b9669a21b6b6c810893932bf9aec9c17d77f7f 100644
--- a/include/effects/SkEmbossMaskFilter.h
+++ b/include/effects/SkEmbossMaskFilter.h
@@ -15,6 +15,8 @@
This mask filter creates a 3D emboss look, by specifying a light and blur amount.
*/
class SK_API SkEmbossMaskFilter : public SkMaskFilter {
+ typedef SkMaskFilter INHERITED;
+
public:
struct Light {
SkScalar fDirection[3]; // x,y,z
@@ -45,8 +47,6 @@ protected:
private:
Light fLight;
SkScalar fBlurSigma;
-
- typedef SkMaskFilter INHERITED;
};
#endif
« no previous file with comments | « include/effects/SkDropShadowImageFilter.h ('k') | include/effects/SkKernel33MaskFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698