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

Unified Diff: runtime/vm/json_stream.h

Issue 2254543006: Reduce copying in sending service responses. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: dbc, sync Created 4 years, 4 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/dart_api_impl.cc ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.h
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
index eec69b0f020bb440184328d1fecfbcd04a2875a7..f331c912f60fddb962552dbbcf390c1e1a7518c4 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -97,7 +97,7 @@ class JSONStream : ValueObject {
TextBuffer* buffer() { return &buffer_; }
const char* ToCString() { return buffer_.buf(); }
- void Steal(const char** buffer, intptr_t* buffer_length);
+ void Steal(char** buffer, intptr_t* buffer_length);
void set_reply_port(Dart_Port port);
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698