Index: mojo/edk/js/waiting_callback.cc |
diff --git a/mojo/edk/js/waiting_callback.cc b/mojo/edk/js/waiting_callback.cc |
index fada0395380a9ea644642578824f9c20de24c8a2..1fe1da09aa7e7595a3350419e1217f429b4b63a8 100644 |
--- a/mojo/edk/js/waiting_callback.cc |
+++ b/mojo/edk/js/waiting_callback.cc |
@@ -53,7 +53,7 @@ WaitingCallback::WaitingCallback(v8::Isolate* isolate, |
v8::Handle<v8::Function> callback, |
bool one_shot) |
: one_shot_(one_shot), |
- watcher_(FROM_HERE), |
+ watcher_(FROM_HERE, Watcher::ArmingPolicy::AUTOMATIC), |
weak_factory_(this) { |
v8::Handle<v8::Context> context = isolate->GetCurrentContext(); |
runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr(); |