| Index: content/public/browser/render_widget_host.h
|
| diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
|
| index 0114a01dce30cf69b60f1be6e55cd45052029f6e..47af770dec0bd240dd5788cb3bd9b9841c3aa19a 100644
|
| --- a/content/public/browser/render_widget_host.h
|
| +++ b/content/public/browser/render_widget_host.h
|
| @@ -250,16 +250,6 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
|
| virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0;
|
| // Get the color profile corresponding to this render widget.
|
| virtual bool GetScreenColorProfile(std::vector<char>* color_profile) = 0;
|
| -
|
| - protected:
|
| - friend class RenderWidgetHostImpl;
|
| -
|
| - // Retrieves the implementation class. Intended only for code
|
| - // within content/. This method is necessary because
|
| - // RenderWidgetHost is the root of a diamond inheritance pattern, so
|
| - // subclasses inherit it virtually, which removes our ability to
|
| - // static_cast to the subclass.
|
| - virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
|
| };
|
|
|
| } // namespace content
|
|
|