зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1444580: Devirtualize GetCurrentContentSink. r=smaug
Another easy one. MozReview-Commit-ID: DJnTRYTiHwH
This commit is contained in:
Родитель
50b16abb7e
Коммит
7e3e8b7ca3
|
@ -9273,7 +9273,7 @@ nsDocument::UnsuppressEventHandlingAndFireEvents(bool aFireEvents)
|
|||
}
|
||||
|
||||
nsISupports*
|
||||
nsDocument::GetCurrentContentSink()
|
||||
nsIDocument::GetCurrentContentSink()
|
||||
{
|
||||
return mParser ? mParser->GetContentSink() : nullptr;
|
||||
}
|
||||
|
|
|
@ -586,8 +586,6 @@ public:
|
|||
virtual void MaybePreconnect(nsIURI* uri,
|
||||
mozilla::CORSMode aCORSMode) override;
|
||||
|
||||
virtual nsISupports* GetCurrentContentSink() override;
|
||||
|
||||
// Only BlockOnload should call this!
|
||||
void AsyncBlockOnload();
|
||||
|
||||
|
|
|
@ -2764,7 +2764,7 @@ public:
|
|||
return mDocumentState;
|
||||
}
|
||||
|
||||
virtual nsISupports* GetCurrentContentSink() = 0;
|
||||
nsISupports* GetCurrentContentSink();
|
||||
|
||||
void SetAutoFocusElement(Element* aAutoFocusElement);
|
||||
void TriggerAutoFocus();
|
||||
|
|
Загрузка…
Ссылка в новой задаче