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 3bf4120fc66683d1970683ddadc96677c88233e4..6feeec82d635677932fae3161084f9b8b7ac2197 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -718,6 +718,11 @@ void PepperPluginInstanceImpl::InstanceCrashed() { |
BindGraphics(pp_instance(), 0); |
InvalidateRect(gfx::Rect()); |
+ if (content_decryptor_delegate_) { |
+ content_decryptor_delegate_->InstanceCrashed(); |
+ content_decryptor_delegate_.reset(); |
+ } |
+ |
render_frame_->PluginCrashed(module_->path(), module_->GetPeerProcessId()); |
UnSetAndDeleteLockTargetAdapter(); |
} |