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

Unified Diff: mojo/common/data_pipe_drainer.cc

Issue 926753002: Improve DartLoader error handling. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove saw_error Created 5 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 | « no previous file | sky/engine/core/script/dart_loader.h » ('j') | sky/engine/core/script/dart_loader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/data_pipe_drainer.cc
diff --git a/mojo/common/data_pipe_drainer.cc b/mojo/common/data_pipe_drainer.cc
index b2075052db0560ee145d81e95ca26d4daf9f5d97..547710945d954f772d031ea5aa41270bb49fedfd 100644
--- a/mojo/common/data_pipe_drainer.cc
+++ b/mojo/common/data_pipe_drainer.cc
@@ -34,7 +34,7 @@ void DataPipeDrainer::ReadData() {
} else if (rv == MOJO_RESULT_FAILED_PRECONDITION) {
client_->OnDataComplete();
} else {
- DCHECK(false);
+ DCHECK(false) << "Unhandled MojoResult: " << rv;
}
}
« no previous file with comments | « no previous file | sky/engine/core/script/dart_loader.h » ('j') | sky/engine/core/script/dart_loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698