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

Unified Diff: runtime/vm/snapshot.cc

Issue 1343213002: Fix for issue 24243 (allow objects of dart:core and dart:collections to be passed in for now, we ne… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix-comment Created 5 years, 3 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
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index decc5a78071d7136ea72a2d67673ee177c26d7c2..cbbf890e1825fa6bb2abf081d6c42c5b1788a289 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -2646,7 +2646,9 @@ void SnapshotWriter::WriteInstanceRef(RawObject* raw, RawClass* cls) {
bool SnapshotWriter::AllowObjectsInDartLibrary(RawLibrary* library) {
- return library == object_store()->typed_data_library();
+ return (library == object_store()->collection_library() ||
koda 2015/09/16 17:41:26 I don't think the whitelisting of dart.collection
siva 2015/09/16 18:24:44 Added a new test with the type being expicitly set
+ library == object_store()->core_library() ||
+ library == object_store()->typed_data_library());
}
« no previous file with comments | « no previous file | tests/isolate/issue_24243_child1_isolate.dart » ('j') | tests/isolate/issue_24243_child1_isolate.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698