Bug 1803810 - Part 1: Rename ComponentModuleLoader to SyncModuleLoader. r=jonco
The behavior is longer tightly associated with "component". Differential Revision: https://phabricator.services.mozilla.com/D199453
This commit is contained in:
@@ -130,10 +130,9 @@ mozilla::dom::ScriptLoadContext* ScriptLoadRequest::GetScriptLoadContext() {
|
||||
return mLoadContext->AsWindowContext();
|
||||
}
|
||||
|
||||
mozilla::loader::ComponentLoadContext*
|
||||
ScriptLoadRequest::GetComponentLoadContext() {
|
||||
mozilla::loader::SyncLoadContext* ScriptLoadRequest::GetSyncLoadContext() {
|
||||
MOZ_ASSERT(mLoadContext);
|
||||
return mLoadContext->AsComponentContext();
|
||||
return mLoadContext->AsSyncContext();
|
||||
}
|
||||
|
||||
mozilla::dom::WorkerLoadContext* ScriptLoadRequest::GetWorkerLoadContext() {
|
||||
|
||||
Reference in New Issue
Block a user