mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb/HTML: Rename WorkerAgent to WorkerAgentParent
This is to differentiate the agent representation for the parent process for the WorkerAgent in the child process which is actually hooked up to the javascript VM. I am not sure if this is a good name, but I can't really think of anything better which is consistent with the names used by the rest of the codebase.
This commit is contained in:
parent
2fc1cafb8a
commit
939bb10828
Notes:
github-actions[bot]
2025-04-25 14:46:02 +00:00
Author: https://github.com/shannonbooth
Commit: 939bb10828
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4453
6 changed files with 17 additions and 16 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/HTML/AbstractWorker.h>
|
||||
#include <LibWeb/HTML/Window.h>
|
||||
#include <LibWeb/HTML/WorkerAgent.h>
|
||||
#include <LibWeb/HTML/WorkerAgentParent.h>
|
||||
#include <LibWeb/WebIDL/ExceptionOr.h>
|
||||
|
||||
#define ENUMERATE_WORKER_EVENT_HANDLERS(E) \
|
||||
|
@ -65,7 +65,7 @@ private:
|
|||
GC::Ptr<DOM::Document> m_document;
|
||||
GC::Ptr<MessagePort> m_outside_port;
|
||||
|
||||
GC::Ptr<WorkerAgent> m_agent;
|
||||
GC::Ptr<WorkerAgentParent> m_agent;
|
||||
|
||||
void run_a_worker(URL::URL& url, EnvironmentSettingsObject& outside_settings, GC::Ptr<MessagePort> outside_port, WorkerOptions const& options);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue