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 |