Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg,roc
authorJohn Schoenick <jschoenick@mozilla.com>
Mon, 29 Jul 2013 12:44:32 -0700
changeset 152889 e70411983e393cc845d44181151dfdd028a2f0bb
parent 152888 1e8481e37d06671b471715b98070bf1a10b6d368
child 152890 2fcf08bde979a7264845f66eec5cca4cf43c6358
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg, roc
bugs860490
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg,roc
dom/plugins/base/nsNPAPIPlugin.cpp
--- a/dom/plugins/base/nsNPAPIPlugin.cpp
+++ b/dom/plugins/base/nsNPAPIPlugin.cpp
@@ -771,17 +771,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)
 {