mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 14:32:24 +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
1 changed files with 1 additions and 1 deletions
|
@ -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