Index: base/async_socket_io_handler.h |
diff --git a/base/async_socket_io_handler.h b/base/async_socket_io_handler.h |
index 71ca5f41e885b4ff93b4a372b5bd053cd3694790..bedb00f215b05a1323e9bbc70880e48a556fbd2c 100644 |
--- a/base/async_socket_io_handler.h |
+++ b/base/async_socket_io_handler.h |
@@ -54,7 +54,7 @@ class BASE_EXPORT AsyncSocketIoHandler |
#endif |
public: |
AsyncSocketIoHandler(); |
- virtual ~AsyncSocketIoHandler(); |
+ ~AsyncSocketIoHandler() override; |
// Type definition for the callback. The parameter tells how many |
// bytes were read and is 0 if an error occurred. |
@@ -81,8 +81,8 @@ class BASE_EXPORT AsyncSocketIoHandler |
DWORD error) override; |
#elif defined(OS_POSIX) |
// Implementation of base::MessageLoopForIO::Watcher. |
- virtual void OnFileCanWriteWithoutBlocking(int socket) override {} |
- virtual void OnFileCanReadWithoutBlocking(int socket) override; |
+ void OnFileCanWriteWithoutBlocking(int socket) override {} |
+ void OnFileCanReadWithoutBlocking(int socket) override; |
void EnsureWatchingSocket(); |
#endif |