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

Unified Diff: third_party/mojo/src/mojo/edk/js/drain_data.cc

Issue 1358163006: Adds some code to help isolate where crash is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 5 years, 3 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 | « mojo/services/network/url_loader_impl.cc ('k') | third_party/mojo/src/mojo/edk/js/waiting_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/edk/js/drain_data.cc
diff --git a/third_party/mojo/src/mojo/edk/js/drain_data.cc b/third_party/mojo/src/mojo/edk/js/drain_data.cc
index 0667c64ca1b3b798af91d958b6aca8c58ee8501d..aa2f53221c36e8dd2dcc44e1bfe2cf0d375c81d8 100644
--- a/third_party/mojo/src/mojo/edk/js/drain_data.cc
+++ b/third_party/mojo/src/mojo/edk/js/drain_data.cc
@@ -42,11 +42,8 @@ DrainData::~DrainData() {
void DrainData::WaitForData() {
wait_id_ = Environment::GetDefaultAsyncWaiter()->AsyncWait(
- handle_.get().value(),
- MOJO_HANDLE_SIGNAL_READABLE,
- MOJO_DEADLINE_INDEFINITE,
- &DrainData::WaitCompleted,
- this);
+ 2, handle_.get().value(), MOJO_HANDLE_SIGNAL_READABLE,
+ MOJO_DEADLINE_INDEFINITE, &DrainData::WaitCompleted, this);
}
void DrainData::DataReady(MojoResult result) {
« no previous file with comments | « mojo/services/network/url_loader_impl.cc ('k') | third_party/mojo/src/mojo/edk/js/waiting_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698