Add a virtual destructor to CefBase (issue #321).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@283 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-08-31 17:54:20 +00:00
parent f636510101
commit f4dc2dffa8
1 changed files with 3 additions and 0 deletions

View File

@ -416,6 +416,9 @@ public:
// Return the current number of references. // Return the current number of references.
/// ///
virtual int GetRefCt() =0; virtual int GetRefCt() =0;
protected:
virtual ~CefBase() {}
}; };