mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
[observatory] Avoid deprecated UnmodifiableUint8ListView
TEST=ci Issue: 53785 Change-Id: I1e3696b32b165813f895dfafb9da8fd50bb41ffc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332263 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
parent
e557275397
commit
8ab032574a
|
@ -216,7 +216,7 @@ class Node {
|
|||
extractPrivateField(reflectClass(A).typeVariables.single, '_reflectee');
|
||||
typedDataArray = Uint8List(32);
|
||||
typedDataView = Uint8List.view(typedDataArray.buffer, 16);
|
||||
typedDataUnmodifiableView = UnmodifiableUint8ListView(typedDataArray);
|
||||
typedDataUnmodifiableView = typedDataArray.asUnmodifiableView();
|
||||
userTag = new UserTag("Example tag name");
|
||||
weakProperty =
|
||||
extractPrivateField(expando, '_data').firstWhere((e) => e != null);
|
||||
|
|
Loading…
Reference in a new issue