Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku

This commit is contained in:
Jonathan Watt
2016-03-31 13:20:14 +01:00
parent 947f9705a7
commit 570328a826
11 changed files with 30 additions and 38 deletions

View File

@@ -62,7 +62,7 @@ HTMLScriptElement::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
aCompileEventHandlers);
NS_ENSURE_SUCCESS(rv, rv);
if (GetCrossShadowCurrentDoc()) {
if (GetComposedDoc()) {
MaybeProcessScript();
}