Index: net/udp/udp_socket_libevent.h |
diff --git a/net/udp/udp_socket_libevent.h b/net/udp/udp_socket_libevent.h |
index 4d3cddd08e592fb9736cfab89ce307156e9d03df..ce8a0f2269ad4c39dbe6f8b7e997216ecebde42a 100644 |
--- a/net/udp/udp_socket_libevent.h |
+++ b/net/udp/udp_socket_libevent.h |
@@ -127,10 +127,7 @@ class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe { |
// MessageLoopForIO::Watcher methods |
- virtual void OnFileCanReadWithoutBlocking(int /* fd */) OVERRIDE { |
- if (!socket_->read_callback_.is_null()) |
- socket_->DidCompleteRead(); |
- } |
+ virtual void OnFileCanReadWithoutBlocking(int /* fd */) OVERRIDE; |
virtual void OnFileCanWriteWithoutBlocking(int /* fd */) OVERRIDE {} |
@@ -148,10 +145,7 @@ class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe { |
virtual void OnFileCanReadWithoutBlocking(int /* fd */) OVERRIDE {} |
- virtual void OnFileCanWriteWithoutBlocking(int /* fd */) OVERRIDE { |
- if (!socket_->write_callback_.is_null()) |
- socket_->DidCompleteWrite(); |
- } |
+ virtual void OnFileCanWriteWithoutBlocking(int /* fd */) OVERRIDE; |
private: |
UDPSocketLibevent* const socket_; |