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

Unified Diff: runtime/bin/dbg_connection.cc

Issue 10332015: More windows fixes. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection.cc
===================================================================
--- runtime/bin/dbg_connection.cc (revision 7332)
+++ runtime/bin/dbg_connection.cc (working copy)
@@ -4,7 +4,6 @@
#include "bin/dbg_connection.h"
#include "bin/dartutils.h"
-#include "bin/fdutils.h"
#include "bin/socket.h"
#include "bin/thread.h"
#include "bin/utils.h"
@@ -149,7 +148,7 @@
int msg_id = msgbuf_->MessageId();
dart::TextBuffer msg(64);
msg.Printf("{ \"id\": %d }", msg_id);
- FDUtils::WriteToBlocking(debugger_fd_, msg.buf(), msg.length());
+ Socket::Write(debugger_fd_, msg.buf(), msg.length());
// TODO(hausner): Error checking. Probably just shut down the debugger
// session if we there is an error while writing.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698