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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 1234803008: Fix for issue 23834 (https://github.com/dart-lang/sdk/issues/23834) (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/snapshot.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index b314513a54a10491ef9457589e9a61827a29161e..23c687af4bc575d4dcf1a67db51e147f2a3751f8 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -863,7 +863,7 @@ class TestSnapshotWriter : public SnapshotWriter {
kInitialSize,
&forward_list_,
true),
- forward_list_(SnapshotWriter::FirstObjectId()) {
+ forward_list_(kMaxPredefinedObjectIds) {
ASSERT(buffer != NULL);
ASSERT(alloc != NULL);
}
@@ -1582,8 +1582,7 @@ TEST_CASE(IntArrayMessage) {
ApiNativeScope scope;
ApiMessageReader api_reader(buffer,
writer.BytesWritten(),
- &zone_allocator,
- false);
+ &zone_allocator);
Dart_CObject* root = api_reader.ReadMessage();
EXPECT_EQ(Dart_CObject_kArray, root->type);
EXPECT_EQ(kArrayLength, root->value.as_array.length);
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698