From be952c3ca6d93968409b246c9439a7d8c2a06bba Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Fri, 28 Aug 2009 20:41:10 +0000 Subject: Fix a ton of compiler warnings. Most of these are classes with virtual methods lacking virtual destructors or NULL used in non-pointer context. BUG=none TEST=app_unittests && base_unittests --gtest_filter=-ConditionVariableTest.LargeFastTaskTest patch by Jacob Mandelson http://codereview.chromium.org/171028/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24792 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/gtk_tree.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/common/gtk_tree.h') diff --git a/chrome/common/gtk_tree.h b/chrome/common/gtk_tree.h index 8caa64c..4e74efa 100644 --- a/chrome/common/gtk_tree.h +++ b/chrome/common/gtk_tree.h @@ -43,6 +43,9 @@ class ModelAdapter : public TableModelObserver { // after clearing the list store. Can be overriden by the delegate if it // needs to do extra initialization before the list store is populated. virtual void OnModelChanged() {} + + protected: + ~Delegate() {} }; // |table_model| may be NULL. -- cgit v1.1