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:
@@ -351,7 +351,7 @@ class ScriptLoadRequestList : private mozilla::LinkedList<ScriptLoadRequest> {
|
||||
public:
|
||||
~ScriptLoadRequestList();
|
||||
|
||||
void Clear();
|
||||
void CancelRequestsAndClear();
|
||||
|
||||
#ifdef DEBUG
|
||||
bool Contains(ScriptLoadRequest* aElem) const;
|
||||
|
||||
Reference in New Issue
Block a user