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

Unified Diff: net/base/net_log.cc

Issue 10066045: RefCounted types should not have public destructors, net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: net/base/net_log.cc
diff --git a/net/base/net_log.cc b/net/base/net_log.cc
index 0b239078072c55c8aedd7e409767fb59512c8e06..78016f0da401fe054612b9f141a6d8c57a6b3cff 100644
--- a/net/base/net_log.cc
+++ b/net/base/net_log.cc
@@ -24,6 +24,8 @@ class NetLogBytesTransferredParameter : public NetLog::EventParameters {
virtual Value* ToValue() const;
private:
+ virtual ~NetLogBytesTransferredParameter() {}
+
const int byte_count_;
std::string hex_encoded_bytes_;
bool has_bytes_;

Powered by Google App Engine
This is Rietveld 408576698