Chromium Code Reviews| Index: content/renderer/render_view_impl.cc |
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
| index 821ccd0eb36fe245bfcb663b7923573ad64fea6d..ba14114182385f5e4c714dc5ac1b7a849334cd3d 100644 |
| --- a/content/renderer/render_view_impl.cc |
| +++ b/content/renderer/render_view_impl.cc |
| @@ -2221,6 +2221,7 @@ WebPlugin* RenderViewImpl::createPlugin(WebFrame* frame, |
| this, frame, params, &plugin)) { |
| return plugin; |
| } |
| + |
| // Check only that the browser plugin isn't disabled. The client layer |
| // may have provided additional selective enabling of the plugin, and |
| // so we can't assume that 'enabled' is the only state where it should |
| @@ -4875,6 +4876,7 @@ void RenderViewImpl::OnResize(const gfx::Size& new_size, |
| void RenderViewImpl::WillInitiatePaint() { |
| // Notify the pepper plugins that we're about to paint. |
| pepper_delegate_.ViewWillInitiatePaint(); |
| + RenderThreadImpl::current()->browser_plugin_manager()->WillInitiatePaint(); |
|
scshunt
2012/07/06 16:39:03
This is where the call is added.
|
| } |
| void RenderViewImpl::DidInitiatePaint() { |