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

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

Issue 1374113006: Use the new Base64 support from dart:convert in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/observatory/lib/service.dart ('k') | runtime/observatory/observatory_sources.gypi » ('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 f92b299012a32960da64bd4f0eb7486651608f0a..f7775c16a6209b2e95aafaf84a5e50efe0e82027 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1971,7 +1971,7 @@ class ServiceEvent extends ServiceObject {
exceptions = map['_debuggerSettings']['_exceptions'];
}
if (map['bytes'] != null) {
- var bytes = decodeBase64(map['bytes']);
+ var bytes = BASE64.decode(map['bytes']);
bytesAsString = UTF8.decode(bytes);
}
if (map['logRecord'] != null) {
@@ -2413,7 +2413,7 @@ class Instance extends HeapObject {
elements = map['elements'];
associations = map['associations'];
if (map['bytes'] != null) {
- var bytes = decodeBase64(map['bytes']);
+ var bytes = BASE64.decode(map['bytes']);
switch (map['kind']) {
case "Uint8ClampedList":
typedElements = bytes.buffer.asUint8ClampedList(); break;
« no previous file with comments | « runtime/observatory/lib/service.dart ('k') | runtime/observatory/observatory_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698