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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 9407010: Move MessageWriter from snapshot files to dart_api_message files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 ecde1ca7ff961159e42cdb3e811734ae058502ba..57005880656bcae6eb3ef269ae76f95cf12a20a9 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -119,7 +119,7 @@ static void CompareDartCObjects(Dart_CObject* first, Dart_CObject* second) {
static void CheckEncodeDecodeMessage(Dart_CObject* root) {
// Encode and decode the message.
uint8_t* buffer = NULL;
- MessageWriter writer(&buffer, &malloc_allocator);
+ ApiMessageWriter writer(&buffer, &malloc_allocator);
writer.WriteCMessage(root);
Dart_CObject* new_root = DecodeMessage(buffer + Snapshot::kHeaderSize,
@@ -1031,7 +1031,7 @@ UNIT_TEST_CASE(ScriptSnapshot) {
TEST_CASE(IntArrayMessage) {
Zone zone(Isolate::Current());
uint8_t* buffer = NULL;
- MessageWriter writer(&buffer, &zone_allocator);
+ ApiMessageWriter writer(&buffer, &zone_allocator);
static const int kArrayLength = 2;
intptr_t data[kArrayLength] = {1, 2};
« 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