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

Unified Diff: runtime/vm/snapshot.cc

Issue 12730013: - Use dart:typedata types in the Dart API calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
===================================================================
--- runtime/vm/snapshot.cc (revision 19847)
+++ runtime/vm/snapshot.cc (working copy)
@@ -318,6 +318,10 @@
case kTypedData##clazz##Cid: { \
obj_ = TypedData::ReadFrom(this, object_id, tags, kind_); \
break; \
+ } \
+ case kExternalTypedData##clazz##Cid: { \
+ obj_ = ExternalTypedData::ReadFrom(this, object_id, tags, kind_); \
+ break; \
}
CLASS_LIST_TYPED_DATA(SNAPSHOT_READ)
#undef SNAPSHOT_READ
@@ -797,6 +801,10 @@
case kTypedData##clazz##Cid: { \
obj_ = TypedData::ReadFrom(this, object_id, tags, kind_); \
break; \
+ } \
+ case kExternalTypedData##clazz##Cid: { \
+ obj_ = ExternalTypedData::ReadFrom(this, object_id, tags, kind_); \
+ break; \
}
CLASS_LIST_TYPED_DATA(SNAPSHOT_READ)
#undef SNAPSHOT_READ
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698