Bug 1472647 - nsPluginInstanceOwner::GetURL should use GetComposedDoc, r=mrbkap

This commit is contained in:
Olli Pettay 2018-07-03 18:07:22 +03:00
Родитель a5cf31373f
Коммит d14590cada
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -419,7 +419,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetURL(const char *aURL,
return NS_OK;
}
nsIDocument *doc = content->GetUncomposedDoc();
nsIDocument *doc = content->GetComposedDoc();
if (!doc) {
return NS_ERROR_FAILURE;
}