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

Unified Diff: include/effects/SkLightingImageFilter.h

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: New serialization method Created 7 years, 3 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
Index: include/effects/SkLightingImageFilter.h
diff --git a/include/effects/SkLightingImageFilter.h b/include/effects/SkLightingImageFilter.h
index 9c90cd949bc2f94718befdadf6d945f37dbc7c30..4d95d8bdf62d8693e79901902c941d087eb0a01c 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,
@@ -73,6 +75,7 @@ public:
~SkLightingImageFilter();
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
+ SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_UTILS()
protected:
SkLightingImageFilter(SkLight* light,
@@ -85,7 +88,6 @@ protected:
SkScalar surfaceScale() const { return fSurfaceScale; }
private:
- typedef SkImageFilter INHERITED;
SkLight* fLight;
SkScalar fSurfaceScale;
};

Powered by Google App Engine
This is Rietveld 408576698