mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 0e127c7f69c4 (bug 1160166) for e10s LSAN leaks.
CLOSED TREE
This commit is contained in:
parent
14d77293f9
commit
e3ec589549
@ -2511,13 +2511,12 @@ nsPluginHost::FindPluginsForContent(uint32_t aPluginEpoch,
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t count;
|
||||
nsIPluginTag** plugins;
|
||||
GetPluginTags(&count, &plugins);
|
||||
nsTArray<nsRefPtr<nsPluginTag>> plugins;
|
||||
GetPlugins(plugins);
|
||||
|
||||
for (size_t i = 0; i < plugins.Length(); i++) {
|
||||
nsRefPtr<nsPluginTag> tag = plugins[i];
|
||||
|
||||
for (size_t i = 0; i < count; i++) {
|
||||
nsRefPtr<nsPluginTag> tag = static_cast<nsPluginTag*>(plugins[i]);
|
||||
NS_RELEASE(plugins[i]);
|
||||
if (!nsNPAPIPlugin::RunPluginOOP(tag)) {
|
||||
// Don't expose non-OOP plugins to content processes since we have no way
|
||||
// to bridge them over.
|
||||
|
Loading…
Reference in New Issue
Block a user