diff options
author | Moonchild <moonchild@palemoon.org> | 2020-06-30 11:32:07 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-06-30 11:51:11 +0000 |
commit | c45b7ee3a985b2b4862fb182cdb34f644f737048 (patch) | |
tree | 53da33f85383ce934145da45b1ad4963b8e94f35 /dom/base/ImportManager.h | |
parent | c7330b5eb48cdd69b06e5f55643ea4c94303381f (diff) | |
download | UXP-c45b7ee3a985b2b4862fb182cdb34f644f737048.tar UXP-c45b7ee3a985b2b4862fb182cdb34f644f737048.tar.gz UXP-c45b7ee3a985b2b4862fb182cdb34f644f737048.tar.lz UXP-c45b7ee3a985b2b4862fb182cdb34f644f737048.tar.xz UXP-c45b7ee3a985b2b4862fb182cdb34f644f737048.zip |
Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
Diffstat (limited to 'dom/base/ImportManager.h')
-rw-r--r-- | dom/base/ImportManager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/base/ImportManager.h b/dom/base/ImportManager.h index 258d4691c..ccc00125a 100644 --- a/dom/base/ImportManager.h +++ b/dom/base/ImportManager.h @@ -45,8 +45,8 @@ #include "nsIStreamListener.h" #include "nsIWeakReferenceUtils.h" #include "nsRefPtrHashtable.h" -#include "nsScriptLoader.h" #include "nsURIHashKey.h" +#include "mozilla/dom/ScriptLoader.h" class nsIDocument; class nsIPrincipal; @@ -184,8 +184,8 @@ public: // and wait for that to run its scripts. We keep track of all the // ScriptRunners that are waiting for this import. NOTE: updating // the main referrer might change this list. - void AddBlockedScriptLoader(nsScriptLoader* aScriptLoader); - bool RemoveBlockedScriptLoader(nsScriptLoader* aScriptLoader); + void AddBlockedScriptLoader(ScriptLoader* aScriptLoader); + bool RemoveBlockedScriptLoader(ScriptLoader* aScriptLoader); void SetBlockingPredecessor(ImportLoader* aLoader); private: @@ -230,7 +230,7 @@ private: // List of pending ScriptLoaders that are waiting for this import // to finish. - nsTArray<RefPtr<nsScriptLoader>> mBlockedScriptLoaders; + nsTArray<RefPtr<ScriptLoader>> mBlockedScriptLoaders; // There is always exactly one referrer link that is flagged as // the main referrer the primary link. This is the one that is |