forked from firka/flutter
Delete unused decode UTF-8, JSON functions (flutter/engine#18360)
These were added in44ec9e55c9for use in _handleNavigationMessage. That function was deleted in0dd69f7b07, but the support methods were left in the code. `// ignore: unused` annotations were added to all private native entry points by dnfield (to work around what is arguably a bug) in2eae3feaaf, and were applied to these two methods, I suspect unintentionally. In any case, they appear entirely unused at present.
This commit is contained in:
@@ -7,16 +7,6 @@
|
||||
// @dart = 2.6
|
||||
part of dart.ui;
|
||||
|
||||
// ignore: unused_element
|
||||
String _decodeUTF8(ByteData message) {
|
||||
return message != null ? utf8.decoder.convert(message.buffer.asUint8List()) : null;
|
||||
}
|
||||
|
||||
// ignore: unused_element
|
||||
dynamic _decodeJSON(String message) {
|
||||
return message != null ? json.decode(message) : null;
|
||||
}
|
||||
|
||||
@pragma('vm:entry-point')
|
||||
// ignore: unused_element
|
||||
void _updateWindowMetrics(
|
||||
|
||||
Reference in New Issue
Block a user