Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2371)

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.cc

Issue 1137663006: Fix WebViewPlugin::scheduleAnimation crash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reset throttler_ in PepperPluginInstanceImpl Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index 936342189d1ce29504a217ac17d3433653e75ae9..9178bd1bba71ae6ba8097fdb1028dddb0b78445b 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -699,6 +699,8 @@ void PepperPluginInstanceImpl::Delete() {
fullscreen_container_ = NULL;
}
+ throttler_.reset();
+
// Force-unbind any Graphics. In the case of Graphics2D, if the plugin
// leaks the graphics 2D, it may actually get cleaned up after our
// destruction, so we need its pointers to be up-to-date.
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_webplugin_impl.cc » ('j') | content/renderer/pepper/pepper_webplugin_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698