commit | ae7007aa7c15527d194e69a833aec203b72787aa | [log] [tgz] |
---|---|---|
author | Anna Malova <[email protected]> | Mon Mar 09 16:48:48 2020 |
committer | Commit Bot <[email protected]> | Mon Mar 09 16:48:48 2020 |
tree | f9f00981156d08491392cfcae59a208e00521696 | |
parent | 7ab2a1e9b465db5352fe11054a629ab14fc12c8b [diff] [blame] |
Convert proxy_config_service_linux to BindRepeating. Bug: 1007815 Change-Id: Icae708380d0ac98643e6620e2d593a240e6872ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089786 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: Matt Menke <[email protected]> Cr-Commit-Position: refs/heads/master@{#748253}
diff --git a/net/proxy_resolution/proxy_config_service_linux.cc b/net/proxy_resolution/proxy_config_service_linux.cc index ffcf019..c11685f 100644 --- a/net/proxy_resolution/proxy_config_service_linux.cc +++ b/net/proxy_resolution/proxy_config_service_linux.cc
@@ -651,8 +651,9 @@ } notify_delegate_ = delegate; inotify_watcher_ = base::FileDescriptorWatcher::WatchReadable( - inotify_fd_, base::Bind(&SettingGetterImplKDE::OnChangeNotification, - base::Unretained(this))); + inotify_fd_, + base::BindRepeating(&SettingGetterImplKDE::OnChangeNotification, + base::Unretained(this))); // Simulate a change to avoid possibly losing updates before this point. OnChangeNotification(); return true;