Index: include/effects/SkColorCubeFilter.h |
diff --git a/include/effects/SkColorCubeFilter.h b/include/effects/SkColorCubeFilter.h |
index 8b621292b03bdba9eb1bead4e21ab25122ee392c..8d63667c3232c295bf8c93b855cac0adbda716a5 100644 |
--- a/include/effects/SkColorCubeFilter.h |
+++ b/include/effects/SkColorCubeFilter.h |
@@ -20,11 +20,7 @@ |
* This cube contains a transform where (x,y,z) maps to the (r,g,b). |
* The alpha components of the colors must be 0xFF. |
*/ |
- static sk_sp<SkColorFilter> Make(sk_sp<SkData> cubeData, int cubeDimension); |
- |
-#ifdef SK_SUPPORT_LEGACY_COLORFILTER_PTR |
static SkColorFilter* Create(SkData* cubeData, int cubeDimension); |
-#endif |
void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const override; |
uint32_t getFlags() const override; |
@@ -37,7 +33,7 @@ |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorCubeFilter) |
protected: |
- SkColorCubeFilter(sk_sp<SkData> cubeData, int cubeDimension); |
+ SkColorCubeFilter(SkData* cubeData, int cubeDimension); |
void flatten(SkWriteBuffer&) const override; |
private: |