Index: runtime/vm/dart_api_message.h |
=================================================================== |
--- runtime/vm/dart_api_message.h (revision 20419) |
+++ runtime/vm/dart_api_message.h (working copy) |
@@ -119,10 +119,11 @@ |
class ApiMessageWriter : public BaseWriter { |
public: |
- static const intptr_t kIncrementSize = 512; |
+ static const intptr_t kInitialSize = 512; |
ApiMessageWriter(uint8_t** buffer, ReAlloc alloc) |
- : BaseWriter(buffer, alloc, kIncrementSize), object_id_(0), |
- forward_list_(NULL), forward_list_length_(0), forward_id_(0) { |
+ : BaseWriter(buffer, alloc, kInitialSize), |
+ object_id_(0), forward_list_(NULL), |
+ forward_list_length_(0), forward_id_(0) { |
ASSERT(kDartCObjectTypeMask >= Dart_CObject::kNumberOfTypes - 1); |
} |
~ApiMessageWriter() { |