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

Unified Diff: include/effects/SkAvoidXfermode.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/Sk2DPathEffect.h ('k') | include/effects/SkBicubicImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkAvoidXfermode.h
diff --git a/include/effects/SkAvoidXfermode.h b/include/effects/SkAvoidXfermode.h
index 4950b64707133930f7f956f08faa7cb1d938465e..1874767c16369beb1592aa9c987e0184fc2cdc9c 100644
--- a/include/effects/SkAvoidXfermode.h
+++ b/include/effects/SkAvoidXfermode.h
@@ -16,6 +16,8 @@
color.
*/
class SK_API SkAvoidXfermode : public SkXfermode {
+ typedef SkXfermode INHERITED;
+
public:
enum Mode {
kAvoidColor_Mode, //!< draw everywhere except on the opColor
@@ -58,8 +60,6 @@ private:
SkColor fOpColor;
uint32_t fDistMul; // x.14
Mode fMode;
-
- typedef SkXfermode INHERITED;
};
#endif
« no previous file with comments | « include/effects/Sk2DPathEffect.h ('k') | include/effects/SkBicubicImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698