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

Unified Diff: runtime/bin/socket.cc

Issue 8399033: First round of changes to the file interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 9 years, 2 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/file_impl.dart ('k') | runtime/bin/socket_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.cc
diff --git a/runtime/bin/socket.cc b/runtime/bin/socket.cc
index adb93c39bb49f34e4318de4ad09ef805dc395906..854abce4d6c2ba6f0b7cade32bb94ea581f43d12 100644
--- a/runtime/bin/socket.cc
+++ b/runtime/bin/socket.cc
@@ -71,7 +71,7 @@ void FUNCTION_NAME(Socket_WriteList)(Dart_NativeArguments args) {
Dart_EnterScope();
intptr_t socket =
DartUtils::GetIntegerInstanceField(Dart_GetNativeArgument(args, 0),
- DartUtils::kIdFieldName);
+ DartUtils::kIdFieldName);
Dart_Handle buffer_obj = Dart_GetNativeArgument(args, 1);
ASSERT(Dart_IsArray(buffer_obj));
intptr_t offset =
@@ -105,7 +105,7 @@ void FUNCTION_NAME(Socket_GetPort)(Dart_NativeArguments args) {
Dart_EnterScope();
intptr_t socket =
DartUtils::GetIntegerInstanceField(Dart_GetNativeArgument(args, 0),
- DartUtils::kIdFieldName);
+ DartUtils::kIdFieldName);
intptr_t port = Socket::GetPort(socket);
Dart_SetReturnValue(args, Dart_NewInteger(port));
Dart_ExitScope();
@@ -133,7 +133,7 @@ void FUNCTION_NAME(ServerSocket_Accept)(Dart_NativeArguments args) {
Dart_EnterScope();
intptr_t socket =
DartUtils::GetIntegerInstanceField(Dart_GetNativeArgument(args, 0),
- DartUtils::kIdFieldName);
+ DartUtils::kIdFieldName);
Dart_Handle socketobj = Dart_GetNativeArgument(args, 1);
intptr_t newSocket = ServerSocket::Accept(socket);
if (newSocket >= 0) {
« no previous file with comments | « runtime/bin/file_impl.dart ('k') | runtime/bin/socket_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698