diff options
author | jbauman <jbauman@chromium.org> | 2014-12-10 01:10:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-10 09:10:32 +0000 |
commit | 742fa38a82d89519f54e29ce4d2106f700d2e98d (patch) | |
tree | 0de5fd7c7e00f1b18f889dda7ea8db4876029285 /content/renderer/pepper/pepper_plugin_instance_impl.cc | |
parent | 9b73eaff36bbb2f6038d8500e4fbc1838936294c (diff) | |
download | chromium_src-742fa38a82d89519f54e29ce4d2106f700d2e98d.zip chromium_src-742fa38a82d89519f54e29ce4d2106f700d2e98d.tar.gz chromium_src-742fa38a82d89519f54e29ce4d2106f700d2e98d.tar.bz2 |
Remove ViewFlushedPaint
All the uses have been moved to ViewInitiatedPaint.
Review URL: https://codereview.chromium.org/782113002
Cr-Commit-Position: refs/heads/master@{#307662}
Diffstat (limited to 'content/renderer/pepper/pepper_plugin_instance_impl.cc')
-rw-r--r-- | content/renderer/pepper/pepper_plugin_instance_impl.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc index db0410f..8c2bbb8 100644 --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc @@ -1337,17 +1337,6 @@ void PepperPluginInstanceImpl::ViewInitiatedPaint() { bound_compositor_->ViewInitiatedPaint(); } -void PepperPluginInstanceImpl::ViewFlushedPaint() { - // Keep a reference on the stack. See NOTE above. - scoped_refptr<PepperPluginInstanceImpl> ref(this); - if (bound_graphics_2d_platform_) - bound_graphics_2d_platform_->ViewFlushedPaint(); - else if (bound_graphics_3d_.get()) - bound_graphics_3d_->ViewFlushedPaint(); - else if (bound_compositor_) - bound_compositor_->ViewFlushedPaint(); -} - void PepperPluginInstanceImpl::SetSelectedText( const base::string16& selected_text) { selected_text_ = selected_text; |