summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings/DocumentWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Bindings/DocumentWrapper.h')
-rw-r--r--Libraries/LibWeb/Bindings/DocumentWrapper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibWeb/Bindings/DocumentWrapper.h b/Libraries/LibWeb/Bindings/DocumentWrapper.h
index 9cf4c765b3..539c2f9bf8 100644
--- a/Libraries/LibWeb/Bindings/DocumentWrapper.h
+++ b/Libraries/LibWeb/Bindings/DocumentWrapper.h
@@ -42,9 +42,9 @@ public:
private:
virtual const char* class_name() const override { return "DocumentWrapper"; }
- static JS::Value get_element_by_id(JS::Interpreter&);
- static JS::Value query_selector(JS::Interpreter&);
- static JS::Value query_selector_all(JS::Interpreter&);
+ JS_DECLARE_NATIVE_FUNCTION(get_element_by_id);
+ JS_DECLARE_NATIVE_FUNCTION(query_selector);
+ JS_DECLARE_NATIVE_FUNCTION(query_selector_all);
};
}