mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
LibJS: Use correct include + object class for Function{Object,Prototype}
Not causing any real issue, just noticed while debugging vptr sanitation errors.
This commit is contained in:
committed by
Andreas Kling
parent
1c0fc75cb6
commit
98a6f962a0
@@ -16,7 +16,7 @@
|
||||
namespace JS {
|
||||
|
||||
class FunctionObject : public Object {
|
||||
JS_OBJECT(Function, Object);
|
||||
JS_OBJECT(FunctionObject, Object);
|
||||
|
||||
public:
|
||||
virtual ~FunctionObject() = default;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <LibJS/Runtime/BoundFunction.h>
|
||||
#include <LibJS/Runtime/ECMAScriptFunctionObject.h>
|
||||
#include <LibJS/Runtime/Error.h>
|
||||
#include <LibJS/Runtime/FunctionObject.h>
|
||||
#include <LibJS/Runtime/FunctionPrototype.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/NativeFunction.h>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/FunctionObject.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user