1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:27:43 +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:
Timothy Flynn 2022-09-14 19:08:46 -04:00 committed by Andreas Kling
parent 1c0fc75cb6
commit 98a6f962a0
3 changed files with 2 additions and 3 deletions

View file

@ -16,7 +16,7 @@
namespace JS {
class FunctionObject : public Object {
JS_OBJECT(Function, Object);
JS_OBJECT(FunctionObject, Object);
public:
virtual ~FunctionObject() = default;

View file

@ -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>

View file

@ -6,7 +6,7 @@
#pragma once
#include <LibJS/Runtime/Object.h>
#include <LibJS/Runtime/FunctionObject.h>
namespace JS {