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

Unified Diff: runtime/bin/eventhandler_win.cc

Issue 171503009: Remove SocketData and now only pass the dart port to epoll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « runtime/bin/eventhandler_win.h ('k') | runtime/bin/socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler_win.cc
diff --git a/runtime/bin/eventhandler_win.cc b/runtime/bin/eventhandler_win.cc
index b29f121894ec5afbb8b5444563b45f019d51ae3a..1fdbe204b72af65900b1ac2ed7fa0b0ef1f2540f 100644
--- a/runtime/bin/eventhandler_win.cc
+++ b/runtime/bin/eventhandler_win.cc
@@ -1213,9 +1213,9 @@ int64_t EventHandlerImplementation::GetTimeout() {
}
-void EventHandlerImplementation::SendData(intptr_t id,
- Dart_Port dart_port,
- int64_t data) {
+void EventHandlerImplementation::Notify(intptr_t id,
+ Dart_Port dart_port,
+ int64_t data) {
InterruptMessage* msg = new InterruptMessage;
msg->id = id;
msg->dart_port = dart_port;
@@ -1299,7 +1299,7 @@ void EventHandlerImplementation::Start(EventHandler* handler) {
void EventHandlerImplementation::Shutdown() {
- SendData(kShutdownId, 0, 0);
+ Notify(kShutdownId, 0, 0);
}
} // namespace bin
« no previous file with comments | « runtime/bin/eventhandler_win.h ('k') | runtime/bin/socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698