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

Unified Diff: content/child/web_data_consumer_handle_impl.cc

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . Created 3 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
Index: content/child/web_data_consumer_handle_impl.cc
diff --git a/content/child/web_data_consumer_handle_impl.cc b/content/child/web_data_consumer_handle_impl.cc
index f81221d85b8e9f97d1cc1979109ea50f7cd983a2..24eca608f7220ef5966b1ffa872a5ea17f6210c2 100644
--- a/content/child/web_data_consumer_handle_impl.cc
+++ b/content/child/web_data_consumer_handle_impl.cc
@@ -37,7 +37,9 @@ class WebDataConsumerHandleImpl::Context
WebDataConsumerHandleImpl::ReaderImpl::ReaderImpl(
scoped_refptr<Context> context,
Client* client)
- : context_(context), handle_watcher_(FROM_HERE), client_(client) {
+ : context_(context),
+ handle_watcher_(FROM_HERE, mojo::Watcher::ArmingPolicy::AUTOMATIC),
+ client_(client) {
if (client_)
StartWatching();
}

Powered by Google App Engine
This is Rietveld 408576698