bug 880379 - remove nsIXULDocument::GetScriptGlobalObjectOwner() r=smaug

This commit is contained in:
Trevor Saunders 2013-02-15 11:22:51 -05:00
parent d5403063f8
commit 7a393d0fe2
3 changed files with 2 additions and 17 deletions

View File

@ -12,13 +12,11 @@
class nsIXULTemplateBuilder;
class nsIContent;
class nsIScriptGlobalObjectOwner;
// 3e872e97-b678-418e-a7e3-41b8305d4e75
// 81ba4be5-6cc5-478a-9b08-b3e7ed524455
#define NS_IXULDOCUMENT_IID \
{ 0x3e872e97, 0xb678, 0x418e, \
{ 0xa7, 0xe3, 0x41, 0xb8, 0x30, 0x5d, 0x4e, 0x75 } }
{0x81ba4be5, 0x6cc5, 0x478a, {0x9b, 0x08, 0xb3, 0xe7, 0xed, 0x52, 0x44, 0x55}}
/*
@ -38,11 +36,6 @@ public:
*/
virtual void GetElementsForID(const nsAString& aID, nsCOMArray<nsIContent>& aElements) = 0;
/**
* Get the nsIScriptGlobalObjectOwner for this document.
*/
NS_IMETHOD GetScriptGlobalObjectOwner(nsIScriptGlobalObjectOwner** aGlobalOwner) = 0;
/**
* Notify the XUL document that a subtree has been added
*/

View File

@ -1211,13 +1211,6 @@ XULDocument::ResolveForwardReferences()
return NS_OK;
}
NS_IMETHODIMP
XULDocument::GetScriptGlobalObjectOwner(nsIScriptGlobalObjectOwner** aGlobalOwner)
{
NS_IF_ADDREF(*aGlobalOwner = mMasterPrototype);
return NS_OK;
}
//----------------------------------------------------------------------
//
// nsIDOMDocument interface

View File

@ -126,7 +126,6 @@ public:
virtual void GetElementsForID(const nsAString& aID,
nsCOMArray<nsIContent>& aElements) MOZ_OVERRIDE;
NS_IMETHOD GetScriptGlobalObjectOwner(nsIScriptGlobalObjectOwner** aGlobalOwner) MOZ_OVERRIDE;
NS_IMETHOD AddSubtreeToDocument(nsIContent* aContent) MOZ_OVERRIDE;
NS_IMETHOD RemoveSubtreeFromDocument(nsIContent* aContent) MOZ_OVERRIDE;
NS_IMETHOD SetTemplateBuilderFor(nsIContent* aContent,