| Index: net/dns/notify_watcher_mac.cc
|
| diff --git a/net/dns/notify_watcher_mac.cc b/net/dns/notify_watcher_mac.cc
|
| index 286f18bb7bb9ee15dae245777ac16cf3cde8590d..61461a9f3d41fc1faec4e6fa34a9adb55aa7c98e 100644
|
| --- a/net/dns/notify_watcher_mac.cc
|
| +++ b/net/dns/notify_watcher_mac.cc
|
| @@ -11,7 +11,8 @@
|
|
|
| namespace net {
|
|
|
| -NotifyWatcherMac::NotifyWatcherMac() : notify_fd_(-1), notify_token_(-1) {}
|
| +NotifyWatcherMac::NotifyWatcherMac() : notify_fd_(-1), notify_token_(-1) {
|
| +}
|
|
|
| NotifyWatcherMac::~NotifyWatcherMac() {
|
| Cancel();
|
| @@ -21,8 +22,8 @@ bool NotifyWatcherMac::Watch(const char* key, const CallbackType& callback) {
|
| DCHECK(key);
|
| DCHECK(!callback.is_null());
|
| Cancel();
|
| - uint32_t status = notify_register_file_descriptor(
|
| - key, ¬ify_fd_, 0, ¬ify_token_);
|
| + uint32_t status =
|
| + notify_register_file_descriptor(key, ¬ify_fd_, 0, ¬ify_token_);
|
| if (status != NOTIFY_STATUS_OK)
|
| return false;
|
| DCHECK_GE(notify_fd_, 0);
|
|
|