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

Unified Diff: runtime/bin/eventhandler_win.cc

Issue 25484007: Call correct FATAL macro in EventHandler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « 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/eventhandler_win.cc
diff --git a/runtime/bin/eventhandler_win.cc b/runtime/bin/eventhandler_win.cc
index b6d40992df2f4b35b41cc05a3e290c3d6a0eca22..51e98ac47ca60fdb306b8a6b93ad96033cbf8318 100644
--- a/runtime/bin/eventhandler_win.cc
+++ b/runtime/bin/eventhandler_win.cc
@@ -272,7 +272,7 @@ bool Handle::IssueRead() {
int result = dart::Thread::Start(ReadFileThread,
reinterpret_cast<uword>(this));
if (result != 0) {
- FATAL("Failed to start read file thread %d", result);
+ FATAL1("Failed to start read file thread %d", result);
}
return true;
}
@@ -628,7 +628,7 @@ int StdHandle::Write(const void* buffer, int num_bytes) {
int result = dart::Thread::Start(WriteFileThread,
reinterpret_cast<uword>(this));
if (result != 0) {
- FATAL("Failed to start write file thread %d", result);
+ FATAL1("Failed to start write file thread %d", result);
}
while (!write_thread_running_) {
// Wait until we the thread is running.
« 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