Bug 1678774 - Rename ScriptLoadRequestList::Cancel to CancelRequestsAndClear r=dpalmeiro

It's not otherwise obvious that calling this cancels all the requests in the list.

Differential Revision: https://phabricator.services.mozilla.com/D119491
This commit is contained in:
Jon Coppeard
2021-07-09 14:07:06 +00:00
parent 6d290c66ee
commit acf11cfc0d
3 changed files with 10 additions and 10 deletions

View File

@@ -351,7 +351,7 @@ class ScriptLoadRequestList : private mozilla::LinkedList<ScriptLoadRequest> {
public:
~ScriptLoadRequestList();
void Clear();
void CancelRequestsAndClear();
#ifdef DEBUG
bool Contains(ScriptLoadRequest* aElem) const;