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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 2cabdd3071b67402c3a53c5bf253399f58101595..ba2a907c2772e6673afce2ad0beeae34805371d0 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -58,10 +58,12 @@ using WebKit::WGC3Dsizeiptr;
// context...
class WebGraphicsContext3DSwapBuffersClient {
public:
- virtual ~WebGraphicsContext3DSwapBuffersClient() { }
virtual void OnViewContextSwapBuffersPosted() = 0;
virtual void OnViewContextSwapBuffersComplete() = 0;
virtual void OnViewContextSwapBuffersAborted() = 0;
+
+ protected:
+ virtual ~WebGraphicsContext3DSwapBuffersClient() {}
};
class WebGraphicsContext3DErrorMessageCallback;

Powered by Google App Engine
This is Rietveld 408576698