Bug 1777204 - Removed unused PreloaderBase::NotifyValidating() & PreloaderBase::NotifyValidated() methods. r=manuel

Differential Revision: https://phabricator.services.mozilla.com/D166808
This commit is contained in:
Richard Broker 2023-01-17 16:13:18 +00:00
Родитель 629f0f42e1
Коммит f5765da017
2 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -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.