mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibJS: Make BooleanPrototype inherit from Object
BooleanPrototype should inherit from Object, not BooleanObject.
This commit is contained in:
parent
551cafe4d3
commit
520c4254c9
Notes:
sideshowbarker
2024-07-19 07:47:08 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/520c4254c94 Pull-request: https://github.com/SerenityOS/serenity/pull/1710
1 changed files with 4 additions and 2 deletions
|
@ -26,10 +26,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Runtime/BooleanObject.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
|
||||
namespace JS {
|
||||
class BooleanPrototype final : public BooleanObject {
|
||||
|
||||
class BooleanPrototype final : public Object {
|
||||
public:
|
||||
BooleanPrototype();
|
||||
virtual ~BooleanPrototype() override;
|
||||
|
@ -40,4 +41,5 @@ private:
|
|||
static Value to_string(Interpreter&);
|
||||
static Value value_of(Interpreter&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue