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

Unified Diff: third_party/mojo/src/mojo/edk/js/waiting_callback.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
Index: third_party/mojo/src/mojo/edk/js/waiting_callback.cc
diff --git a/third_party/mojo/src/mojo/edk/js/waiting_callback.cc b/third_party/mojo/src/mojo/edk/js/waiting_callback.cc
index d5c48c539e346002d7c7b6d8c7dd71cc1e479111..2e0182465d440d16aa93406667995544978426f4 100644
--- a/third_party/mojo/src/mojo/edk/js/waiting_callback.cc
+++ b/third_party/mojo/src/mojo/edk/js/waiting_callback.cc
@@ -31,11 +31,8 @@ gin::Handle<WaitingCallback> WaitingCallback::Create(
gin::Handle<WaitingCallback> waiting_callback = gin::CreateHandle(
isolate, new WaitingCallback(isolate, callback, handle_wrapper));
waiting_callback->wait_id_ = Environment::GetDefaultAsyncWaiter()->AsyncWait(
- handle_wrapper->get().value(),
- signals,
- MOJO_DEADLINE_INDEFINITE,
- &WaitingCallback::CallOnHandleReady,
- waiting_callback.get());
+ 3, handle_wrapper->get().value(), signals, MOJO_DEADLINE_INDEFINITE,
+ &WaitingCallback::CallOnHandleReady, waiting_callback.get());
return waiting_callback;
}
« no previous file with comments | « third_party/mojo/src/mojo/edk/js/drain_data.cc ('k') | third_party/mojo/src/mojo/public/c/environment/async_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698