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

Unified Diff: chrome/browser/webdata/web_database_table.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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/webdata/web_database_table.h
diff --git a/chrome/browser/webdata/web_database_table.h b/chrome/browser/webdata/web_database_table.h
index 5bb95b96e7c0f8f0e9b61bfcdd29418c1bcc1322..ea3c5ec43ba885dbdbd8dff3271b501855410a5b 100644
--- a/chrome/browser/webdata/web_database_table.h
+++ b/chrome/browser/webdata/web_database_table.h
@@ -16,10 +16,7 @@ class WebDatabaseTable {
protected:
explicit WebDatabaseTable(sql::Connection* db, sql::MetaTable* meta_table)
: db_(db), meta_table_(meta_table) {}
- virtual ~WebDatabaseTable() {
- db_ = NULL;
- meta_table_ = NULL;
- };
+ virtual ~WebDatabaseTable();
// Attempts to initialize the table and returns true if successful.
virtual bool Init() = 0;
« no previous file with comments | « chrome/browser/ui/webui/shared_resources_data_source.h ('k') | chrome/browser/webdata/web_database_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698