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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 9325022: Decode the Dart message into a Dart_CMessage structure before calling the native port callback (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undo unneeded changes 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
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index 9903f10c59cca6982298123eed1a9a962c85c701..4c6f156ab0c3fc4f3e0472afc4b0ac8f506f4f8d 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -7,6 +7,7 @@
#include "vm/bigint_operations.h"
#include "vm/class_finalizer.h"
#include "vm/dart_api_impl.h"
+#include "vm/dart_api_message.h"
#include "vm/dart_api_state.h"
#include "vm/snapshot.h"
#include "vm/unit_test.h"
@@ -55,7 +56,7 @@ static uint8_t* zone_allocator(
static Dart_CObject* DecodeMessage(uint8_t* message,
intptr_t length,
ReAlloc allocator) {
- CMessageReader message_reader(message, length, allocator);
+ ApiMessageReader message_reader(message, length, allocator);
return message_reader.ReadMessage();
}

Powered by Google App Engine
This is Rietveld 408576698