From 3690ebe09a8c3cea0fd7d9ece8f5b8d8ebc65c19 Mon Sep 17 00:00:00 2001 From: "hans@chromium.org" Date: Wed, 25 May 2011 09:08:19 +0000 Subject: Virtual destructors should have virtual keyword. Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http/http_cache.h') diff --git a/net/http/http_cache.h b/net/http/http_cache.h index 3fbb5e1..861d36b 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -144,7 +144,7 @@ class NET_API HttpCache : public HttpTransactionFactory, NetLog* net_log, BackendFactory* backend_factory); - ~HttpCache(); + virtual ~HttpCache(); HttpTransactionFactory* network_layer() { return network_layer_.get(); } -- cgit v1.1