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/BooleanConstructor.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'Source/JavaScriptCore/runtime/BooleanConstructor.h') diff --git a/Source/JavaScriptCore/runtime/BooleanConstructor.h b/Source/JavaScriptCore/runtime/BooleanConstructor.h index 177f69e5c..bb8c5df2b 100644 --- a/Source/JavaScriptCore/runtime/BooleanConstructor.h +++ b/Source/JavaScriptCore/runtime/BooleanConstructor.h @@ -1,6 +1,6 @@ /* * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) - * Copyright (C) 2008 Apple Inc. All rights reserved. + * Copyright (C) 2008, 2016 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,20 +18,20 @@ * */ -#ifndef BooleanConstructor_h -#define BooleanConstructor_h +#pragma once #include "InternalFunction.h" namespace JSC { class BooleanPrototype; +class GetterSetter; class BooleanConstructor : public InternalFunction { public: typedef InternalFunction Base; - static BooleanConstructor* create(VM& vm, Structure* structure, BooleanPrototype* booleanPrototype) + static BooleanConstructor* create(VM& vm, Structure* structure, BooleanPrototype* booleanPrototype, GetterSetter*) { BooleanConstructor* constructor = new (NotNull, allocateCell(vm.heap)) BooleanConstructor(vm, structure); constructor->finishCreation(vm, booleanPrototype); @@ -55,8 +55,5 @@ private: }; JSObject* constructBooleanFromImmediateBoolean(ExecState*, JSGlobalObject*, JSValue); -JSObject* constructBoolean(ExecState*, const ArgList&); } // namespace JSC - -#endif // BooleanConstructor_h -- cgit v1.2.1