Index: net/socket/tcp_client_socket_win.cc |
=================================================================== |
--- net/socket/tcp_client_socket_win.cc (revision 31079) |
+++ net/socket/tcp_client_socket_win.cc (working copy) |
@@ -126,7 +126,6 @@ |
class TCPClientSocketWin::Core : public base::RefCounted<Core> { |
public: |
explicit Core(TCPClientSocketWin* socket); |
- ~Core(); |
// Start watching for the end of a read or write operation. |
void WatchForRead(); |
@@ -161,6 +160,10 @@ |
} |
private: |
+ friend class base::RefCounted<Core>; |
+ |
+ ~Core(); |
eroman
2009/11/05 20:52:19
nit: move this after the inner class definitions.
jam
2009/11/05 21:56:02
Done.
|
+ |
class ReadDelegate : public base::ObjectWatcher::Delegate { |
public: |
explicit ReadDelegate(Core* core) : core_(core) {} |