diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/NavigatorObject.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/NavigatorObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/NavigatorObject.cpp b/Userland/Libraries/LibWeb/Bindings/NavigatorObject.cpp index 057dd0000c..bc494d07a0 100644 --- a/Userland/Libraries/LibWeb/Bindings/NavigatorObject.cpp +++ b/Userland/Libraries/LibWeb/Bindings/NavigatorObject.cpp @@ -44,12 +44,12 @@ NavigatorObject::~NavigatorObject() { } -JS_DEFINE_NATIVE_FUNCTION(NavigatorObject::user_agent_getter) +JS_DEFINE_OLD_NATIVE_FUNCTION(NavigatorObject::user_agent_getter) { return JS::js_string(vm, ResourceLoader::the().user_agent()); } -JS_DEFINE_NATIVE_FUNCTION(NavigatorObject::cookie_enabled_getter) +JS_DEFINE_OLD_NATIVE_FUNCTION(NavigatorObject::cookie_enabled_getter) { // No way of disabling cookies right now :^) return JS::Value(true); |