Skip to content

Commit

Permalink
remove old name for SkCodec::kNoFrame
Browse files Browse the repository at this point in the history
Cq-Include-Trybots: skia.primary:Build-Debian9-Clang-arm-Release-Flutter_Android
Change-Id: I039aed7591aa7767046f28a48798b6fa2f7fd643
Reviewed-on: https://skia-review.googlesource.com/c/169224
Reviewed-by: Leon Scroggins <scroggo@google.com>
  • Loading branch information
Mike Klein committed Nov 8, 2018
1 parent 9edbf42 commit 06a477c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion gn/flutter_defines.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 0 additions & 5 deletions include/codec/SkCodec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 06a477c

Please sign in to comment.