Remove unnecessary breaks in default clauses of switch statements (flutter/engine#54669)
See https://dart.googlesource.com/sdk.git/+/045d26bc74209f5acc6466669f89686344e83de2
This commit is contained in:
parent
bc6d7fa164
commit
164eb442db
@ -1104,7 +1104,6 @@ class BrowserManager {
|
|||||||
default:
|
default:
|
||||||
// Unreachable.
|
// Unreachable.
|
||||||
assert(false);
|
assert(false);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -823,7 +823,6 @@ class BitmapCanvas extends EngineCanvas {
|
|||||||
..backgroundBlendMode =
|
..backgroundBlendMode =
|
||||||
blendModeToCssMixBlendMode(colorFilterBlendMode) ?? ''
|
blendModeToCssMixBlendMode(colorFilterBlendMode) ?? ''
|
||||||
..backgroundColor = filterColor!.toCssString();
|
..backgroundColor = filterColor!.toCssString();
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return imgElement;
|
return imgElement;
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,6 @@ class TextCapitalizationConfig {
|
|||||||
case TextCapitalization.none:
|
case TextCapitalization.none:
|
||||||
default:
|
default:
|
||||||
autocapitalize = 'off';
|
autocapitalize = 'off';
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (domInstanceOfString(domElement, 'HTMLInputElement')) {
|
if (domInstanceOfString(domElement, 'HTMLInputElement')) {
|
||||||
final DomHTMLInputElement element = domElement as DomHTMLInputElement;
|
final DomHTMLInputElement element = domElement as DomHTMLInputElement;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user