| 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 f4ed16aa32154ed941c1d8b470f27c05a85e2504..cef8e27114467bc04818f29a9a3f16e15a165b2f 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;
|
|
|
|
|