mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1434399 part 10. Remove nsIDOMXULDocument::GetBoxObjectFor. r=mystor
MozReview-Commit-ID: AvUdAtCMRRq
This commit is contained in:
parent
76d6420fab
commit
2152c06e6d
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user