mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 06:06:48 +00:00
LibJS: Make Object::invoke() non-const
As suggested in #2431's code review.
This commit is contained in:
parent
1dd44210b7
commit
688ca7b196
Notes:
sideshowbarker
2024-07-19 05:59:44 +09:00
Author: https://github.com/linusg
Commit: 688ca7b196
Pull-request: https://github.com/SerenityOS/serenity/pull/2439
2 changed files with 4 additions and 4 deletions
|
@ -108,7 +108,7 @@ public:
|
|||
IndexedProperties& indexed_properties() { return m_indexed_properties; }
|
||||
void set_indexed_property_elements(Vector<Value>&& values) { m_indexed_properties = IndexedProperties(move(values)); }
|
||||
|
||||
Value invoke(const FlyString& property_name, Optional<MarkedValueList> arguments = {}) const;
|
||||
Value invoke(const FlyString& property_name, Optional<MarkedValueList> arguments = {});
|
||||
|
||||
private:
|
||||
virtual Value get_by_index(u32 property_index) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue