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 cbeb8332cbebf1eb706abb18c87ecdc44621141f..365a3e3329d026e6146e38945225229f1f53a5d0 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -408,6 +408,13 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
virtual void RemoveLayer(WebKit::WebLayer* layer) {} |
#endif |
+ // Resets state variables related to tracking pending size and painting. |
+ // |
+ // We need to reset these flags when we want to repaint the contents of |
+ // browser plugin in this RWH. Resetting these flags will ensure we ignore |
+ // any previous pending acks that are not relevant upon repaint. |
+ void ResetSizeAndRepaintPendingFlags(); |
+ |
protected: |
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; |