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

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

Issue 1085423004: Pepper: Fix reentrancy problem in PepperPluginInstanceImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d9f9d58eeb43b8617b7655b2a0248cc1c77a2852..07930b338c15720c76229694adc1951989295c0c 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -3135,6 +3135,9 @@ bool PepperPluginInstanceImpl::FlashSetFullscreen(bool fullscreen,
}
bool PepperPluginInstanceImpl::IsRectTopmost(const gfx::Rect& rect) {
+ if (is_deleted_)
+ return false;
+
if (flash_fullscreen_)
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698