Index: net/socket_stream/socket_stream.h |
diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h |
index 18042e0cf0be3a84325394745b93adb89dd6f261..0b1bc10994d98bdc0dcbe5545870f845689ccb80 100644 |
--- a/net/socket_stream/socket_stream.h |
+++ b/net/socket_stream/socket_stream.h |
@@ -189,7 +189,7 @@ class NET_API SocketStream : public base::RefCountedThreadSafe<SocketStream> { |
std::string headers_; |
private: |
- ~RequestHeaders() { data_ = NULL; } |
+ virtual ~RequestHeaders() { data_ = NULL; } |
}; |
class ResponseHeaders : public IOBuffer { |
@@ -202,7 +202,7 @@ class NET_API SocketStream : public base::RefCountedThreadSafe<SocketStream> { |
void Realloc(size_t new_size); |
private: |
- ~ResponseHeaders(); |
+ virtual ~ResponseHeaders(); |
scoped_ptr_malloc<char> headers_; |
}; |