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 --- chrome/browser/autocomplete/history_contents_provider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/autocomplete/history_contents_provider.h') diff --git a/chrome/browser/autocomplete/history_contents_provider.h b/chrome/browser/autocomplete/history_contents_provider.h index e4279a1..7ceb0b9 100644 --- a/chrome/browser/autocomplete/history_contents_provider.h +++ b/chrome/browser/autocomplete/history_contents_provider.h @@ -35,7 +35,7 @@ class HistoryContentsProvider : public HistoryProvider { virtual void Stop() OVERRIDE; private: - ~HistoryContentsProvider(); + virtual ~HistoryContentsProvider(); void QueryComplete(HistoryService::Handle handle, history::QueryResults* results); -- cgit v1.1