Bug 881128: Make devtools not use window.GetSVGDocument r=bz

This commit is contained in:
David Zbarsky
2013-06-11 21:56:19 -07:00
parent 9be35b878d
commit 4bd139d4cb
2 changed files with 3 additions and 3 deletions

View File

@@ -1392,7 +1392,7 @@ DocumentWalker.prototype = {
return;
if (node.contentDocument) {
return this._reparentWalker(node.contentDocument);
} else if (node instanceof nodeDocument(node).defaultView.GetSVGDocument) {
} else if (node.getSVGDocument) {
return this._reparentWalker(node.getSVGDocument());
}
return this.walker.firstChild();
@@ -1405,7 +1405,7 @@ DocumentWalker.prototype = {
return;
if (node.contentDocument) {
return this._reparentWalker(node.contentDocument);
} else if (node instanceof nodeDocument(node).defaultView.GetSVGDocument) {
} else if (node.getSVGDocument) {
return this._reparentWalker(node.getSVGDocument());
}
return this.walker.lastChild();