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

Unified Diff: include/effects/SkLerpXfermode.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/SkLayerRasterizer.h ('k') | include/effects/SkLightingImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkLerpXfermode.h
diff --git a/include/effects/SkLerpXfermode.h b/include/effects/SkLerpXfermode.h
index 6151f3d5a3e7f411fdb1c1c0b6c31203bf5f920a..2cfc5dae134a04779152a977f18ca29f5beb3dbb 100644
--- a/include/effects/SkLerpXfermode.h
+++ b/include/effects/SkLerpXfermode.h
@@ -11,6 +11,8 @@
#include "SkXfermode.h"
class SK_API SkLerpXfermode : public SkXfermode {
+ typedef SkXfermode INHERITED;
+
public:
/**
* result = scale * src + (1 - scale) * dst
@@ -39,8 +41,6 @@ private:
SkLerpXfermode(unsigned scale256);
unsigned fScale256; // 0..256
-
- typedef SkXfermode INHERITED;
};
#endif
« no previous file with comments | « include/effects/SkLayerRasterizer.h ('k') | include/effects/SkLightingImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698