diff --git a/gn/flutter_defines.gni b/gn/flutter_defines.gni index 0be4820d85cf2..c66de21c5879b 100644 --- a/gn/flutter_defines.gni +++ b/gn/flutter_defines.gni @@ -4,7 +4,6 @@ # found in the LICENSE file. flutter_defines = [ "SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION", - "SK_LEGACY_SKCODEC_NONE_ENUM", # Flutter always wants this https://github.com/flutter/flutter/issues/11402 "SK_ENABLE_DUMP_GPU", diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index 623a35fe1c914..fc58db942d6b5 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -594,11 +594,6 @@ class SK_API SkCodec : SkNoncopyable { // is residing in dst's memory. static constexpr int kNoFrame = -1; - // This transitional definition was added in August 2018, and will eventually be removed. -#ifdef SK_LEGACY_SKCODEC_NONE_ENUM - static constexpr int kNone = kNoFrame; -#endif - /** * Information about individual frames in a multi-framed image. */