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 55883dece235d97a3567533cf47a0c798e2ea24b..094a24151f94e3dfb828d54d140a4fffce2e8a45 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -396,6 +396,13 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
allow_privileged_mouse_lock_ = allow; |
} |
+ // 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; |