Index: runtime/bin/eventhandler.h |
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h |
index 347d0e0a7eb36fe6d8ddef9264011a4c9f92bb1b..54845d0e3f3517e43a9170a8ac6c8e8312ffe272 100644 |
--- a/runtime/bin/eventhandler.h |
+++ b/runtime/bin/eventhandler.h |
@@ -7,7 +7,6 @@ |
#include "bin/builtin.h" |
#include "bin/isolate_data.h" |
-#include "bin/socket.h" |
namespace dart { |
namespace bin { |
@@ -25,6 +24,7 @@ enum MessageFlags { |
kCloseCommand = 8, |
kShutdownReadCommand = 9, |
kShutdownWriteCommand = 10, |
+ kReturnTokenCommand = 11, |
kListeningSocket = 16, |
kPipe = 17, |
}; |
@@ -108,7 +108,7 @@ namespace bin { |
class EventHandler { |
public: |
void SendData(intptr_t id, Dart_Port dart_port, int64_t data) { |
- delegate_.Notify(id, dart_port, data); |
+ delegate_.SendData(id, dart_port, data); |
} |
/** |