Index: include/effects/SkDropShadowImageFilter.h |
diff --git a/include/effects/SkDropShadowImageFilter.h b/include/effects/SkDropShadowImageFilter.h |
index 1212c3f575aa2178ab2c04e252206c891a0fcef6..e3620b0dfa0758175cc1b9bd9d81c87789fe8465 100644 |
--- a/include/effects/SkDropShadowImageFilter.h |
+++ b/include/effects/SkDropShadowImageFilter.h |
@@ -5,6 +5,9 @@ |
* found in the LICENSE file. |
*/ |
+#ifndef SkDropShadowImageFilter_DEFINED |
+#define SkDropShadowImageFilter_DEFINED |
+ |
#include "SkColor.h" |
#include "SkImageFilter.h" |
#include "SkScalar.h" |
@@ -33,8 +36,8 @@ public: |
protected: |
void flatten(SkWriteBuffer&) const override; |
- bool onFilterImageDeprecated(Proxy*, const SkBitmap& source, const Context&, SkBitmap* result, |
- SkIPoint* loc) const override; |
+ SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&, |
+ SkIPoint* offset) const override; |
SkIRect onFilterNodeBounds(const SkIRect& src, const SkMatrix&, MapDirection) const override; |
private: |
@@ -47,3 +50,5 @@ private: |
typedef SkImageFilter INHERITED; |
}; |
+ |
+#endif |