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

Unified Diff: include/effects/SkLumaXfermode.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/SkLightingImageFilter.h ('k') | include/effects/SkMagnifierImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkLumaXfermode.h
diff --git a/include/effects/SkLumaXfermode.h b/include/effects/SkLumaXfermode.h
index b189328fdb1f36cec1249a5a772f7d321804ed30..648627aff9a63e732a5d0fc7ea466e42a685ed23 100644
--- a/include/effects/SkLumaXfermode.h
+++ b/include/effects/SkLumaXfermode.h
@@ -23,6 +23,8 @@
* (where C is un-premultiplied)
*/
class SK_API SkLumaMaskXfermode : public SkXfermode {
+ typedef SkXfermode INHERITED;
+
public:
/** Return an SkLumaMaskXfermode object for the specified submode.
*
@@ -53,8 +55,6 @@ protected:
private:
const SkXfermode::Mode fMode;
- typedef SkXfermode INHERITED;
-
virtual SkPMColor lumaProc(const SkPMColor a, const SkPMColor b) const;
};
« no previous file with comments | « include/effects/SkLightingImageFilter.h ('k') | include/effects/SkMagnifierImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698