Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Unified Diff: chrome/browser/chromeos/web_socket_proxy.cc

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/web_socket_proxy.cc
diff --git a/chrome/browser/chromeos/web_socket_proxy.cc b/chrome/browser/chromeos/web_socket_proxy.cc
index eb7ef075155cae56e70e56180dcd86e14e9dd77f..28d14f1012c578f7a50e9790feb698055efb025c 100644
--- a/chrome/browser/chromeos/web_socket_proxy.cc
+++ b/chrome/browser/chromeos/web_socket_proxy.cc
@@ -464,11 +464,11 @@ class SSLChan : public MessageLoopForIO::Watcher {
DCHECK(host_->data());
}
+ protected:
virtual ~DerivedIOBufferWithSize() {
data_ = NULL; // We do not own memory, bypass base class destructor.
}
- protected:
scoped_refptr<net::IOBuffer> host_;
};

Powered by Google App Engine
This is Rietveld 408576698