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

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: Make win bot happy Created 8 years, 6 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
« no previous file with comments | « content/browser/ssl/ssl_error_handler.h ('k') | content/common/gpu/gpu_command_buffer_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 704c0731fd35060a20313fe552a246e049a5220b..6f4450bff2ad14c15046baf8c60c90920d7c3ed7 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;
« no previous file with comments | « content/browser/ssl/ssl_error_handler.h ('k') | content/common/gpu/gpu_command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698