Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2610513004: Fix dart:typed_data runtimeType getters. (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/typed_data_patch.dart ('k') | runtime/observatory/tests/service/get_object_rpc_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index b9e0f6efd02e0dc4999bc1b9116b021199abc696..1ef7a5a8c55f63463ed66dd0f546a27a247415e3 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -2551,33 +2551,33 @@ M.InstanceKind stringToInstanceKind(String s) {
return M.InstanceKind.float64x2;
case 'Int32x4':
return M.InstanceKind.int32x4;
- case '_Uint8ClampedList':
+ case 'Uint8ClampedList':
return M.InstanceKind.uint8ClampedList;
- case '_Uint8List':
+ case 'Uint8List':
return M.InstanceKind.uint8List;
- case '_Uint16List':
+ case 'Uint16List':
return M.InstanceKind.uint16List;
- case '_Uint32List':
+ case 'Uint32List':
return M.InstanceKind.uint32List;
- case '_Uint64List':
+ case 'Uint64List':
return M.InstanceKind.uint64List;
- case '_Int8List':
+ case 'Int8List':
return M.InstanceKind.int8List;
- case '_Int16List':
+ case 'Int16List':
return M.InstanceKind.int16List;
- case '_Int32List':
+ case 'Int32List':
return M.InstanceKind.int32List;
- case '_Int64List':
+ case 'Int64List':
return M.InstanceKind.int64List;
- case '_Float32List':
+ case 'Float32List':
return M.InstanceKind.float32List;
- case '_Float64List':
+ case 'Float64List':
return M.InstanceKind.float64List;
- case '_Int32x4List':
+ case 'Int32x4List':
return M.InstanceKind.int32x4List;
- case '_Float32x4List':
+ case 'Float32x4List':
return M.InstanceKind.float32x4List;
- case '_Float64x2List':
+ case 'Float64x2List':
return M.InstanceKind.float64x2List;
case 'StackTrace':
return M.InstanceKind.stackTrace;
@@ -2791,46 +2791,46 @@ class Instance extends HeapObject implements M.Instance {
if (map['bytes'] != null) {
Uint8List bytes = BASE64.decode(map['bytes']);
switch (map['kind']) {
- case "_Uint8ClampedList":
+ case "Uint8ClampedList":
typedElements = bytes.buffer.asUint8ClampedList();
break;
- case "_Uint8List":
+ case "Uint8List":
typedElements = bytes.buffer.asUint8List();
break;
- case "_Uint16List":
+ case "Uint16List":
typedElements = bytes.buffer.asUint16List();
break;
- case "_Uint32List":
+ case "Uint32List":
typedElements = bytes.buffer.asUint32List();
break;
- case "_Uint64List":
+ case "Uint64List":
typedElements = bytes.buffer.asUint64List();
break;
- case "_Int8List":
+ case "Int8List":
typedElements = bytes.buffer.asInt8List();
break;
- case "_Int16List":
+ case "Int16List":
typedElements = bytes.buffer.asInt16List();
break;
- case "_Int32List":
+ case "Int32List":
typedElements = bytes.buffer.asInt32List();
break;
- case "_Int64List":
+ case "Int64List":
typedElements = bytes.buffer.asInt64List();
break;
- case "_Float32List":
+ case "Float32List":
typedElements = bytes.buffer.asFloat32List();
break;
- case "_Float64List":
+ case "Float64List":
typedElements = bytes.buffer.asFloat64List();
break;
- case "_Int32x4List":
+ case "Int32x4List":
typedElements = bytes.buffer.asInt32x4List();
break;
- case "_Float32x4List":
+ case "Float32x4List":
typedElements = bytes.buffer.asFloat32x4List();
break;
- case "_Float64x2List":
+ case "Float64x2List":
typedElements = bytes.buffer.asFloat64x2List();
break;
}
« no previous file with comments | « runtime/lib/typed_data_patch.dart ('k') | runtime/observatory/tests/service/get_object_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698