Commit ae7007aa authored by Anna Malova's avatar Anna Malova Committed by Commit Bot

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 <mmenke@chromium.org>
Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748253}
parent 7ab2a1e9
...@@ -651,7 +651,8 @@ class SettingGetterImplKDE : public ProxyConfigServiceLinux::SettingGetter { ...@@ -651,7 +651,8 @@ class SettingGetterImplKDE : public ProxyConfigServiceLinux::SettingGetter {
} }
notify_delegate_ = delegate; notify_delegate_ = delegate;
inotify_watcher_ = base::FileDescriptorWatcher::WatchReadable( inotify_watcher_ = base::FileDescriptorWatcher::WatchReadable(
inotify_fd_, base::Bind(&SettingGetterImplKDE::OnChangeNotification, inotify_fd_,
base::BindRepeating(&SettingGetterImplKDE::OnChangeNotification,
base::Unretained(this))); base::Unretained(this)));
// Simulate a change to avoid possibly losing updates before this point. // Simulate a change to avoid possibly losing updates before this point.
OnChangeNotification(); OnChangeNotification();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment