diff options
Diffstat (limited to 'dom/plugins/ipc/PluginModuleParent.cpp')
-rwxr-xr-x | dom/plugins/ipc/PluginModuleParent.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dom/plugins/ipc/PluginModuleParent.cpp b/dom/plugins/ipc/PluginModuleParent.cpp index 4dff7b0f41..c4461bc901 100755 --- a/dom/plugins/ipc/PluginModuleParent.cpp +++ b/dom/plugins/ipc/PluginModuleParent.cpp @@ -2210,7 +2210,10 @@ PluginModuleParent::NPP_NewInternal(NPMIMEType pluginType, NPP instance, if (supportsAsyncRender) { // Prefs indicates we want async plugin rendering, make sure // the flash module has support. - CallModuleSupportsAsyncRender(&supportsAsyncRender); + if (!CallModuleSupportsAsyncRender(&supportsAsyncRender)) { + // The actual support call failed. Should not happen; abort. + return NS_ERROR_FAILURE; + } } #ifdef _WIN64 // For 64-bit builds force windowless if the flash library doesn't support |