Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 490be156247fa26254c9379c526e8022c4e90765..dc1a217132cc17804c10fe6a95c5330c59cb2203 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -175,11 +175,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
// Notification that the screen info has changed. |
void NotifyScreenInfoChanged(); |
- // Invalidates the cached screen info so that next resize request |
- // will carry the up to date screen info. Unlike |
- // |NotifyScreenInfoChanged|, this doesn't send a message to the renderer. |
- void InvalidateScreenInfo(); |
- |
// Sets the View of this RenderWidgetHost. |
void SetView(RenderWidgetHostViewBase* view); |
@@ -725,14 +720,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
// True when waiting for RESIZE_ACK. |
bool resize_ack_pending_; |
- // Cached copy of the screen info so that it doesn't need to be updated every |
- // time the window is resized. |
- scoped_ptr<blink::WebScreenInfo> screen_info_; |
- |
- // Set if screen_info_ may have changed and should be recomputed and force a |
- // resize message. |
- bool screen_info_out_of_date_; |
- |
// The current size of the RenderWidget. |
gfx::Size current_size_; |