Delete unused decode UTF-8, JSON functions (flutter/engine#18360)

These were added in 44ec9e55c9 for use in
_handleNavigationMessage. That function was deleted in
0dd69f7b07, 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) in 2eae3feaaf, and were applied to
these two methods, I suspect unintentionally.

In any case, they appear entirely unused at present.
This commit is contained in:
Chris Bracken
2020-05-14 09:12:28 -07:00
committed by GitHub
parent 3957b694b9
commit 07cdd1a2f1

View File

@@ -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(