Bug 1434399 part 10. Remove nsIDOMXULDocument::GetBoxObjectFor. r=mystor

MozReview-Commit-ID: AvUdAtCMRRq
This commit is contained in:
Boris Zbarsky 2018-01-31 14:49:28 -05:00
parent 76d6420fab
commit 2152c06e6d
2 changed files with 0 additions and 11 deletions

View File

@ -13,8 +13,6 @@ interface nsIBoxObject;
[uuid(7790d4c3-e8f0-4e29-9887-d683ed2b2a44)]
interface nsIDOMXULDocument : nsIDOMDocument
{
nsIBoxObject getBoxObjectFor(in nsIDOMElement elt);
/**
* Loads a XUL overlay and merges it with the current document, notifying an
* observer when the merge is complete.

View File

@ -4147,15 +4147,6 @@ XULDocument::ThreadSafeGetDocumentLWTheme() const
return theme;
}
NS_IMETHODIMP
XULDocument::GetBoxObjectFor(nsIDOMElement* aElement, nsIBoxObject** aResult)
{
ErrorResult rv;
nsCOMPtr<Element> el = do_QueryInterface(aElement);
*aResult = GetBoxObjectFor(el, rv).take();
return rv.StealNSResult();
}
JSObject*
XULDocument::WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto)
{