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

Unified Diff: include/effects/SkPixelXorXfermode.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/SkPerlinNoiseShader.h ('k') | include/effects/SkRectShaderImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkPixelXorXfermode.h
diff --git a/include/effects/SkPixelXorXfermode.h b/include/effects/SkPixelXorXfermode.h
index 5411b12d05148d80507aafd4105f0c8d61813fdf..28db2bbba4dec814faa5e64d02bd2a8ff831b315 100644
--- a/include/effects/SkPixelXorXfermode.h
+++ b/include/effects/SkPixelXorXfermode.h
@@ -16,6 +16,8 @@
not really usefull for operating on blended colors.
*/
class SK_API SkPixelXorXfermode : public SkXfermode {
+ typedef SkXfermode INHERITED;
+
public:
SkPixelXorXfermode(SkColor opColor) : fOpColor(opColor) {}
@@ -31,8 +33,6 @@ protected:
private:
SkColor fOpColor;
-
- typedef SkXfermode INHERITED;
};
#endif
« no previous file with comments | « include/effects/SkPerlinNoiseShader.h ('k') | include/effects/SkRectShaderImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698