зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1777204 - Removed unused PreloaderBase::NotifyValidating() & PreloaderBase::NotifyValidated() methods. r=manuel
Differential Revision: https://phabricator.services.mozilla.com/D166808
This commit is contained in:
Родитель
629f0f42e1
Коммит
f5765da017
|
@ -253,12 +253,6 @@ void PreloaderBase::NotifyStop(nsresult aStatus) {
|
|||
mChannel = nullptr;
|
||||
}
|
||||
|
||||
void PreloaderBase::NotifyValidating() { mOnStopStatus.reset(); }
|
||||
|
||||
void PreloaderBase::NotifyValidated(nsresult aStatus) {
|
||||
NotifyStop(nullptr, aStatus);
|
||||
}
|
||||
|
||||
void PreloaderBase::AddLinkPreloadNode(nsINode* aNode) {
|
||||
if (mOnStopStatus) {
|
||||
return NotifyNodeEvent(aNode);
|
||||
|
|
|
@ -65,14 +65,6 @@ class PreloaderBase : public SupportsWeakPtr, public nsISupports {
|
|||
// channel.
|
||||
void NotifyStop(nsresult aStatus);
|
||||
|
||||
// Called when this currently existing load has to be asynchronously
|
||||
// revalidated before it can be used. This prevents link preload DOM nodes
|
||||
// being notified until the validation is resolved.
|
||||
void NotifyValidating();
|
||||
// Called when the validation process has been done. This will notify
|
||||
// associated link DOM nodes.
|
||||
void NotifyValidated(nsresult aStatus);
|
||||
|
||||
// Called by resource loaders or any suitable component to notify the preload
|
||||
// has been used for an actual load. This is intended to stop any usage
|
||||
// timers.
|
||||
|
|
Загрузка…
Ссылка в новой задаче