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

Unified Diff: runtime/bin/eventhandler.cc

Issue 81013002: Cleanup the getting and setting of the socket file descriptor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Correctly rebased Created 7 years, 1 month 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 | « no previous file | runtime/bin/process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.cc
diff --git a/runtime/bin/eventhandler.cc b/runtime/bin/eventhandler.cc
index 3a86b2fd7c95e3b30e7d8e87ad535dbb029a4cd3..e19e9281ab191accf20f351688f86b501862d4a6 100644
--- a/runtime/bin/eventhandler.cc
+++ b/runtime/bin/eventhandler.cc
@@ -90,7 +90,7 @@ void FUNCTION_NAME(EventHandler_SendData)(Dart_NativeArguments args) {
if (Dart_IsNull(sender)) {
id = kTimerId;
} else {
- Socket::GetSocketIdNativeField(sender, &id);
+ id = Socket::GetSocketIdNativeField(sender);
}
Dart_Handle handle = Dart_GetNativeArgument(args, 1);
Dart_Port dart_port =
« no previous file with comments | « no previous file | runtime/bin/process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698