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

Unified Diff: runtime/vm/port.h

Issue 9182001: OOB messages and general message refactor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 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/vm/message_queue_test.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/port.h
===================================================================
--- runtime/vm/port.h (revision 3557)
+++ runtime/vm/port.h (working copy)
@@ -12,6 +12,7 @@
namespace dart {
class Isolate;
+class Message;
class Mutex;
class PortMapTestPeer;
@@ -33,11 +34,8 @@
// Enqueues the message in the port with id. Returns false if the port is not
// active any longer.
//
- // Claims ownership of the memory pointed to by 'message' and will
- // ensure that free(message) is called.
- static bool PostMessage(Dart_Port dest_port,
- Dart_Port reply_port,
- Dart_Message message);
+ // Claims ownership of 'message'.
+ static bool PostMessage(Message* message);
static void InitOnce();
« no previous file with comments | « runtime/vm/message_queue_test.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698