diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 08:54:10 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 08:54:10 +0000 |
commit | 7ee2e88cc20da162083e8371d9f73d9ae204fd1f (patch) | |
tree | 0762f380421ff6283e81e557fb9ff986d0344640 /webkit/plugins/ppapi/fullscreen_container.h | |
parent | 24258f8c58c172fe7ce59822752f9757ebb7e53c (diff) | |
download | chromium_src-7ee2e88cc20da162083e8371d9f73d9ae204fd1f.zip chromium_src-7ee2e88cc20da162083e8371d9f73d9ae204fd1f.tar.gz chromium_src-7ee2e88cc20da162083e8371d9f73d9ae204fd1f.tar.bz2 |
RefCounted types should not have public destructors, webkit/ edition
BUG=123295
TEST=it compiles
Review URL: https://chromiumcodereview.appspot.com/10416004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/fullscreen_container.h')
-rw-r--r-- | webkit/plugins/ppapi/fullscreen_container.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/fullscreen_container.h b/webkit/plugins/ppapi/fullscreen_container.h index f8d4356..88500cd 100644 --- a/webkit/plugins/ppapi/fullscreen_container.h +++ b/webkit/plugins/ppapi/fullscreen_container.h @@ -21,8 +21,6 @@ namespace ppapi { // plugins, that only handles painting. class FullscreenContainer { public: - virtual ~FullscreenContainer() {} - // Invalidates the full plugin region. virtual void Invalidate() = 0; @@ -43,6 +41,9 @@ class FullscreenContainer { // The returned object is owned by FullscreenContainer. virtual MouseLockDispatcher* GetMouseLockDispatcher() = 0; + + protected: + virtual ~FullscreenContainer() {} }; } // namespace ppapi |