summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
index c1b6d069b0..93d4e39827 100644
--- a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
+++ b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp
@@ -85,14 +85,14 @@ JS::NonnullGCPtr<WorkerNavigator> WorkerGlobalScope::navigator() const
}
#undef __ENUMERATE
-#define __ENUMERATE(attribute_name, event_name) \
- void WorkerGlobalScope::set_##attribute_name(Bindings::CallbackType* value) \
- { \
- set_event_handler_attribute(event_name, move(value)); \
- } \
- Bindings::CallbackType* WorkerGlobalScope::attribute_name() \
- { \
- return event_handler_attribute(event_name); \
+#define __ENUMERATE(attribute_name, event_name) \
+ void WorkerGlobalScope::set_##attribute_name(WebIDL::CallbackType* value) \
+ { \
+ set_event_handler_attribute(event_name, move(value)); \
+ } \
+ WebIDL::CallbackType* WorkerGlobalScope::attribute_name() \
+ { \
+ return event_handler_attribute(event_name); \
}
ENUMERATE_WORKER_GLOBAL_SCOPE_EVENT_HANDLERS(__ENUMERATE)
#undef __ENUMERATE