Skip to content

Commit 0081e8c

Browse files
authored
Remove unused _TypeNone enum field. (flutter#14440)
* Remove unused field * Similarly remove _TypeNone from web_ui
1 parent 48ba39c commit 0081e8c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/ui/painting.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,8 +2632,6 @@ class ColorFilter {
26322632
final int _type;
26332633

26342634
// The type of SkColorFilter class to create for Skia.
2635-
// These constants must be kept in sync with ColorFilterType in paint.cc.
2636-
static const int _TypeNone = 0; // null
26372635
static const int _TypeMode = 1; // MakeModeFilter
26382636
static const int _TypeMatrix = 2; // MakeMatrixFilterRowMajor255
26392637
static const int _TypeLinearToSrgbGamma = 3; // MakeLinearToSRGBGamma

lib/web_ui/lib/src/engine/color_filter.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ class EngineColorFilter implements ui.ColorFilter {
114114
final int _type;
115115

116116
// The type of SkColorFilter class to create for Skia.
117-
// These constants must be kept in sync with ColorFilterType in paint.cc.
118-
static const int _TypeNone = 0; // null
119117
static const int _TypeMode = 1; // MakeModeFilter
120118
static const int _TypeMatrix = 2; // MakeMatrixFilterRowMajor255
121119
static const int _TypeLinearToSrgbGamma = 3; // MakeLinearToSRGBGamma

0 commit comments

Comments
 (0)