mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +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:
parent
1c0fc75cb6
commit
98a6f962a0
Notes:
sideshowbarker
2024-07-17 16:23:06 +09:00
Author: https://github.com/trflynn89
Commit: 98a6f962a0
Pull-request: https://github.com/SerenityOS/serenity/pull/15247
Reviewed-by: https://github.com/bgianfo ✅
3 changed files with 2 additions and 3 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue