Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
This commit is contained in:
@@ -62,7 +62,7 @@ HTMLScriptElement::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
aCompileEventHandlers);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (GetCrossShadowCurrentDoc()) {
|
||||
if (GetComposedDoc()) {
|
||||
MaybeProcessScript();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user