summaryrefslogtreecommitdiffstats
path: root/content/public/renderer/render_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/renderer/render_view.h')
-rw-r--r--content/public/renderer/render_view.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
index c09a527..a57ba9a 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