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

Unified Diff: runtime/vm/json_stream.cc

Issue 887413003: Port type arguments to new RPC protocol (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/observatory/test/type_arguments_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index 725ef488cfabc858819d0d203f526c878bf7189b..b525d7f6ce8f82e36b27444111f6d15abb8fb60f 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -94,6 +94,7 @@ void JSONStream::SetupNew(Zone* zone,
String& string_iterator = String::Handle();
if (option_keys.Length() > 0) {
+ ASSERT(option_keys.Length() == option_values.Length());
const char** option_keys_native =
zone->Alloc<const char*>(option_keys.Length());
const char** option_values_native =
« no previous file with comments | « runtime/observatory/test/type_arguments_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698