Index: runtime/vm/dart_api_message.cc |
=================================================================== |
--- runtime/vm/dart_api_message.cc (revision 11409) |
+++ runtime/vm/dart_api_message.cc (working copy) |
@@ -478,8 +478,6 @@ |
for (int i = 0; i < field_count; i++) { |
Write<RawObject*>(Integer::New(data[i])); |
} |
- |
- FinalizeBuffer(); |
} |
@@ -622,7 +620,7 @@ |
} |
return; |
} |
- return WriteCObjectInlined(object, type); |
+ WriteCObjectInlined(object, type); |
} |
@@ -645,7 +643,7 @@ |
AddToForwardList(object); |
return; |
} |
- return WriteCObjectInlined(object, type); |
+ WriteCObjectInlined(object, type); |
} |
@@ -782,7 +780,6 @@ |
WriteForwardedCObject(forward_list_[i]); |
} |
UnmarkAllCObjects(object); |
- FinalizeBuffer(); |
} |
} // namespace dart |