Index: src/effects/SkColorCubeFilter.cpp |
diff --git a/src/effects/SkColorCubeFilter.cpp b/src/effects/SkColorCubeFilter.cpp |
index 18c5b5603f39989c488b790f231723205b3942ce..30641c3c30ea26208ca3b9b6838bae5851c4e7fc 100644 |
--- a/src/effects/SkColorCubeFilter.cpp |
+++ b/src/effects/SkColorCubeFilter.cpp |
@@ -161,15 +161,6 @@ void SkColorCubeFilter::filterSpan(const SkPMColor src[], int count, SkPMColor d |
} |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkColorCubeFilter::SkColorCubeFilter(SkReadBuffer& buffer) |
- : fCache(buffer.readInt()) { |
- fCubeData.reset(buffer.readByteArrayAsData()); |
- buffer.validate(is_valid_3D_lut(fCubeData, fCache.cubeDimension())); |
- fUniqueID = SkNextColorCubeUniqueID(); |
-} |
-#endif |
- |
SkFlattenable* SkColorCubeFilter::CreateProc(SkReadBuffer& buffer) { |
int cubeDimension = buffer.readInt(); |
SkAutoDataUnref cubeData(buffer.readByteArrayAsData()); |