Index: net/dns/notify_watcher_mac.h |
diff --git a/net/dns/notify_watcher_mac.h b/net/dns/notify_watcher_mac.h |
index 0951c2fc6b282b79c306598f85fdbc0a19ce3f45..ded752cea719a01adbdd1ad7e2db0b3f6f38c5b1 100644 |
--- a/net/dns/notify_watcher_mac.h |
+++ b/net/dns/notify_watcher_mac.h |
@@ -20,7 +20,7 @@ class NotifyWatcherMac : public base::MessageLoopForIO::Watcher { |
NotifyWatcherMac(); |
// When deleted, automatically cancels. |
- virtual ~NotifyWatcherMac(); |
+ ~NotifyWatcherMac() override; |
// Registers for notifications for |key|. Returns true if succeeds. If so, |
// will deliver asynchronous notifications and errors to |callback|. |
@@ -31,8 +31,8 @@ class NotifyWatcherMac : public base::MessageLoopForIO::Watcher { |
private: |
// MessageLoopForIO::Watcher: |
- virtual void OnFileCanReadWithoutBlocking(int fd) override; |
- virtual void OnFileCanWriteWithoutBlocking(int fd) override {} |
+ void OnFileCanReadWithoutBlocking(int fd) override; |
+ void OnFileCanWriteWithoutBlocking(int fd) override {} |
int notify_fd_; |
int notify_token_; |