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

Unified Diff: runtime/vm/object_test.cc

Issue 1151523002: VM-internalize the default Map implementation. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Ready for review. Created 5 years, 7 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/object_test.cc
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
index 5e72ebfe4343a587f4d3948fe38b15115a0bb715..54ecc90a6d63e9c783d1acb17d219e0b2e6cd6d4 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -4463,7 +4463,8 @@ TEST_CASE(PrintJSONPrimitives) {
// LinkedHashMap reference
{
JSONStream js;
- const LinkedHashMap& array = LinkedHashMap::Handle(LinkedHashMap::New());
+ const LinkedHashMap& array =
+ LinkedHashMap::Handle(LinkedHashMap::NewDefault());
array.PrintJSON(&js, true);
elideSubstring("classes", js.ToCString(), buffer);
elideSubstring("objects", buffer, buffer);

Powered by Google App Engine
This is Rietveld 408576698