Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg, r=roc, a=bajaj
authorJohn Schoenick <jschoenick@mozilla.com>
Mon, 29 Jul 2013 12:44:32 -0700
changeset 143843 7e1add37886ac9099b85dc145bb7524fa442f041
parent 143842 17b59850715a4e8c4f622ff05669dd10151d3a86
child 143844 d759cc9de1dff8befd24d97c38ac80ab6cf5da30
push id4079
push userryanvm@gmail.com
push dateMon, 05 Aug 2013 16:14:49 +0000
treeherdermozilla-aurora@cf6c28aac228 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg, roc, bajaj
bugs860490
milestone24.0a2
Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg, r=roc, a=bajaj
dom/plugins/base/nsNPAPIPlugin.cpp
--- a/dom/plugins/base/nsNPAPIPlugin.cpp
+++ b/dom/plugins/base/nsNPAPIPlugin.cpp
@@ -770,17 +770,17 @@ nsPluginThreadRunnable::~nsPluginThreadR
 
 NS_IMETHODIMP
 nsPluginThreadRunnable::Run()
 {
   if (mFunc) {
     PluginDestructionGuard guard(mInstance);
 
     NS_TRY_SAFE_CALL_VOID(mFunc(mUserData), nullptr,
-                          NS_PLUGIN_CALL_UNSAFE_TO_REENTER_GECKO);
+                          NS_PLUGIN_CALL_SAFE_TO_REENTER_GECKO);
   }
 
   return NS_OK;
 }
 
 void
 OnPluginDestroy(NPP instance)
 {