Index: mojo/edk/js/drain_data.cc |
diff --git a/mojo/edk/js/drain_data.cc b/mojo/edk/js/drain_data.cc |
index cfd0bb5c8005c28fb9237f3756f57180b71c2295..10a4f6a8f940f875f5a1553d10e9ce48ff1d8836 100644 |
--- a/mojo/edk/js/drain_data.cc |
+++ b/mojo/edk/js/drain_data.cc |
@@ -23,7 +23,7 @@ namespace js { |
DrainData::DrainData(v8::Isolate* isolate, mojo::Handle handle) |
: isolate_(isolate), |
handle_(DataPipeConsumerHandle(handle.value())), |
- handle_watcher_(FROM_HERE) { |
+ handle_watcher_(FROM_HERE, Watcher::ArmingPolicy::AUTOMATIC) { |
v8::Handle<v8::Context> context(isolate_->GetCurrentContext()); |
runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr(); |