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

Unified Diff: include/effects/SkLightingImageFilter.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/SkLerpXfermode.h ('k') | include/effects/SkLumaXfermode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkLightingImageFilter.h
diff --git a/include/effects/SkLightingImageFilter.h b/include/effects/SkLightingImageFilter.h
index 9c90cd949bc2f94718befdadf6d945f37dbc7c30..945853f8a1abea7ce8f14ec4c3414e5fb8cd2015 100644
--- a/include/effects/SkLightingImageFilter.h
+++ b/include/effects/SkLightingImageFilter.h
@@ -49,6 +49,8 @@ public:
class SkLight;
class SK_API SkLightingImageFilter : public SkImageFilter {
+ typedef SkImageFilter INHERITED;
+
public:
static SkImageFilter* CreateDistantLitDiffuse(const SkPoint3& direction,
SkColor lightColor, SkScalar surfaceScale, SkScalar kd,
@@ -85,7 +87,6 @@ protected:
SkScalar surfaceScale() const { return fSurfaceScale; }
private:
- typedef SkImageFilter INHERITED;
SkLight* fLight;
SkScalar fSurfaceScale;
};
« no previous file with comments | « include/effects/SkLerpXfermode.h ('k') | include/effects/SkLumaXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698