зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1444143 part 11. Remove unused nsIFrameLoaderOwner::GetFrameLoaderXPCOM. r=mystor
There are no JS implementations of nsIFrameLoaderOwner, so we can mark it builtinclass. MozReview-Commit-ID: 5z2f6fUrqaS
This commit is contained in:
Родитель
bf1ef0641d
Коммит
6011abc74a
|
@ -28,13 +28,12 @@ class nsFrameLoader;
|
|||
|
||||
native alreadyAddRefed_nsFrameLoader(already_AddRefed<nsFrameLoader>);
|
||||
|
||||
[scriptable, uuid(adc1b3ba-8deb-4943-8045-e6de0044f2ce)]
|
||||
[scriptable, builtinclass, uuid(adc1b3ba-8deb-4943-8045-e6de0044f2ce)]
|
||||
interface nsIFrameLoaderOwner : nsISupports
|
||||
{
|
||||
/**
|
||||
* The frame loader owned by this nsIFrameLoaderOwner
|
||||
*/
|
||||
[binaryname(FrameLoaderXPCOM)] readonly attribute nsIFrameLoader frameLoader;
|
||||
[noscript, notxpcom] alreadyAddRefed_nsFrameLoader GetFrameLoader();
|
||||
|
||||
/**
|
||||
|
|
|
@ -1123,13 +1123,6 @@ nsObjectLoadingContent::OnDataAvailable(nsIRequest *aRequest,
|
|||
}
|
||||
|
||||
// nsIFrameLoaderOwner
|
||||
NS_IMETHODIMP
|
||||
nsObjectLoadingContent::GetFrameLoaderXPCOM(nsIFrameLoader** aFrameLoader)
|
||||
{
|
||||
NS_IF_ADDREF(*aFrameLoader = mFrameLoader);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(already_AddRefed<nsFrameLoader>)
|
||||
nsObjectLoadingContent::GetFrameLoader()
|
||||
{
|
||||
|
|
|
@ -172,13 +172,6 @@ nsGenericHTMLFrameElement::CreateRemoteFrameLoader(nsITabParent* aTabParent)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGenericHTMLFrameElement::GetFrameLoaderXPCOM(nsIFrameLoader **aFrameLoader)
|
||||
{
|
||||
NS_IF_ADDREF(*aFrameLoader = mFrameLoader);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(already_AddRefed<nsFrameLoader>)
|
||||
nsGenericHTMLFrameElement::GetFrameLoader()
|
||||
{
|
||||
|
|
|
@ -1544,13 +1544,6 @@ nsXULElement::LoadSrc()
|
|||
frameLoader->LoadFrame(false);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetFrameLoaderXPCOM(nsIFrameLoader **aFrameLoader)
|
||||
{
|
||||
*aFrameLoader = GetFrameLoader().take();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
already_AddRefed<nsFrameLoader>
|
||||
nsXULElement::GetFrameLoader()
|
||||
{
|
||||
|
|
|
@ -400,7 +400,6 @@ public:
|
|||
bool aPreallocateChildren) const override;
|
||||
virtual mozilla::EventStates IntrinsicState() const override;
|
||||
|
||||
nsresult GetFrameLoaderXPCOM(nsIFrameLoader** aFrameLoader);
|
||||
void PresetOpenerWindow(mozIDOMWindowProxy* aWindow, ErrorResult& aRv);
|
||||
|
||||
virtual void RecompileScriptEventListeners() override;
|
||||
|
|
Загрузка…
Ссылка в новой задаче