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

Unified Diff: content/public/renderer/render_view.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/public/browser/worker_service_observer.h ('k') | content/renderer/media/scoped_loop_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_view.h
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index c09a527c2f98fbef1981b1edcbba0c008daa0b18..a57ba9af127aeea7886871922abdab696941c200 100644
--- a/content/public/renderer/render_view.h
+++ b/content/public/renderer/render_view.h
@@ -49,8 +49,6 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
// been closed but not yet destroyed are excluded).
static void ForEach(RenderViewVisitor* visitor);
- virtual ~RenderView() {}
-
// Get the routing ID of the view.
virtual int GetRoutingID() const = 0;
@@ -128,6 +126,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
WebKit::WebFrame* frame,
const WebKit::WebURLRequest& request,
WebKit::WebNavigationPolicy policy) = 0;
+
+ protected:
+ virtual ~RenderView() {}
};
} // namespace content
« no previous file with comments | « content/public/browser/worker_service_observer.h ('k') | content/renderer/media/scoped_loop_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698