From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/runtime/SetConstructor.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Source/JavaScriptCore/runtime/SetConstructor.h') diff --git a/Source/JavaScriptCore/runtime/SetConstructor.h b/Source/JavaScriptCore/runtime/SetConstructor.h index efbd88bb3..33d5a30ba 100644 --- a/Source/JavaScriptCore/runtime/SetConstructor.h +++ b/Source/JavaScriptCore/runtime/SetConstructor.h @@ -23,23 +23,23 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef SetConstructor_h -#define SetConstructor_h +#pragma once #include "InternalFunction.h" namespace JSC { class SetPrototype; +class GetterSetter; class SetConstructor : public InternalFunction { public: typedef InternalFunction Base; - static SetConstructor* create(VM& vm, Structure* structure, SetPrototype* setPrototype) + static SetConstructor* create(VM& vm, Structure* structure, SetPrototype* setPrototype, GetterSetter* speciesSymbol) { SetConstructor* constructor = new (NotNull, allocateCell(vm.heap)) SetConstructor(vm, structure); - constructor->finishCreation(vm, setPrototype); + constructor->finishCreation(vm, setPrototype, speciesSymbol); return constructor; } @@ -55,11 +55,9 @@ private: : Base(vm, structure) { } - void finishCreation(VM&, SetPrototype*); + void finishCreation(VM&, SetPrototype*, GetterSetter* speciesSymbol); static ConstructType getConstructData(JSCell*, ConstructData&); static CallType getCallData(JSCell*, CallData&); }; -} - -#endif // !defined(MapConstructor_h) +} // namespace JSC -- cgit v1.2.1