|
1 /* |
|
2 This file is part of the WebKit open source project. |
|
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! |
|
4 |
|
5 This library is free software; you can redistribute it and/or |
|
6 modify it under the terms of the GNU Library General Public |
|
7 License as published by the Free Software Foundation; either |
|
8 version 2 of the License, or (at your option) any later version. |
|
9 |
|
10 This library is distributed in the hope that it will be useful, |
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 Library General Public License for more details. |
|
14 |
|
15 You should have received a copy of the GNU Library General Public License |
|
16 along with this library; see the file COPYING.LIB. If not, write to |
|
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
18 Boston, MA 02110-1301, USA. |
|
19 */ |
|
20 |
|
21 #include "config.h" |
|
22 |
|
23 #if ENABLE(SVG) |
|
24 |
|
25 #include "JSSVGPaint.h" |
|
26 |
|
27 #include "KURL.h" |
|
28 #include "SVGPaint.h" |
|
29 #include <runtime/Error.h> |
|
30 #include <runtime/JSNumberCell.h> |
|
31 #include <runtime/JSString.h> |
|
32 #include <wtf/GetPtr.h> |
|
33 |
|
34 using namespace JSC; |
|
35 |
|
36 namespace WebCore { |
|
37 |
|
38 ASSERT_CLASS_FITS_IN_CELL(JSSVGPaint); |
|
39 |
|
40 /* Hash table */ |
|
41 #if ENABLE(JIT) |
|
42 #define THUNK_GENERATOR(generator) , generator |
|
43 #else |
|
44 #define THUNK_GENERATOR(generator) |
|
45 #endif |
|
46 |
|
47 static const HashTableValue JSSVGPaintTableValues[4] = |
|
48 { |
|
49 { "paintType", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintPaintType), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
50 { "uri", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintUri), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
51 { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintConstructor), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
52 { 0, 0, 0, 0 THUNK_GENERATOR(0) } |
|
53 }; |
|
54 |
|
55 #undef THUNK_GENERATOR |
|
56 static JSC_CONST_HASHTABLE HashTable JSSVGPaintTable = { 9, 7, JSSVGPaintTableValues, 0 }; |
|
57 /* Hash table for constructor */ |
|
58 #if ENABLE(JIT) |
|
59 #define THUNK_GENERATOR(generator) , generator |
|
60 #else |
|
61 #define THUNK_GENERATOR(generator) |
|
62 #endif |
|
63 |
|
64 static const HashTableValue JSSVGPaintConstructorTableValues[11] = |
|
65 { |
|
66 { "SVG_PAINTTYPE_UNKNOWN", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_UNKNOWN), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
67 { "SVG_PAINTTYPE_RGBCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_RGBCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
68 { "SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_RGBCOLOR_ICCCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
69 { "SVG_PAINTTYPE_NONE", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_NONE), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
70 { "SVG_PAINTTYPE_CURRENTCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_CURRENTCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
71 { "SVG_PAINTTYPE_URI_NONE", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_NONE), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
72 { "SVG_PAINTTYPE_URI_CURRENTCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_CURRENTCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
73 { "SVG_PAINTTYPE_URI_RGBCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_RGBCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
74 { "SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
75 { "SVG_PAINTTYPE_URI", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
76 { 0, 0, 0, 0 THUNK_GENERATOR(0) } |
|
77 }; |
|
78 |
|
79 #undef THUNK_GENERATOR |
|
80 static JSC_CONST_HASHTABLE HashTable JSSVGPaintConstructorTable = { 35, 31, JSSVGPaintConstructorTableValues, 0 }; |
|
81 |
|
82 COMPILE_ASSERT(0 == SVGPaint::SVG_PAINTTYPE_UNKNOWN, SVGPaintEnumSVG_PAINTTYPE_UNKNOWNIsWrongUseDontCheckEnums); |
|
83 COMPILE_ASSERT(1 == SVGPaint::SVG_PAINTTYPE_RGBCOLOR, SVGPaintEnumSVG_PAINTTYPE_RGBCOLORIsWrongUseDontCheckEnums); |
|
84 COMPILE_ASSERT(2 == SVGPaint::SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, SVGPaintEnumSVG_PAINTTYPE_RGBCOLOR_ICCCOLORIsWrongUseDontCheckEnums); |
|
85 COMPILE_ASSERT(101 == SVGPaint::SVG_PAINTTYPE_NONE, SVGPaintEnumSVG_PAINTTYPE_NONEIsWrongUseDontCheckEnums); |
|
86 COMPILE_ASSERT(102 == SVGPaint::SVG_PAINTTYPE_CURRENTCOLOR, SVGPaintEnumSVG_PAINTTYPE_CURRENTCOLORIsWrongUseDontCheckEnums); |
|
87 COMPILE_ASSERT(103 == SVGPaint::SVG_PAINTTYPE_URI_NONE, SVGPaintEnumSVG_PAINTTYPE_URI_NONEIsWrongUseDontCheckEnums); |
|
88 COMPILE_ASSERT(104 == SVGPaint::SVG_PAINTTYPE_URI_CURRENTCOLOR, SVGPaintEnumSVG_PAINTTYPE_URI_CURRENTCOLORIsWrongUseDontCheckEnums); |
|
89 COMPILE_ASSERT(105 == SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR, SVGPaintEnumSVG_PAINTTYPE_URI_RGBCOLORIsWrongUseDontCheckEnums); |
|
90 COMPILE_ASSERT(106 == SVGPaint::SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR, SVGPaintEnumSVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLORIsWrongUseDontCheckEnums); |
|
91 COMPILE_ASSERT(107 == SVGPaint::SVG_PAINTTYPE_URI, SVGPaintEnumSVG_PAINTTYPE_URIIsWrongUseDontCheckEnums); |
|
92 |
|
93 class JSSVGPaintConstructor : public DOMConstructorObject { |
|
94 public: |
|
95 JSSVGPaintConstructor(JSC::ExecState*, JSDOMGlobalObject*); |
|
96 |
|
97 virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); |
|
98 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&); |
|
99 virtual const JSC::ClassInfo* classInfo() const { return &s_info; } |
|
100 static const JSC::ClassInfo s_info; |
|
101 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) |
|
102 { |
|
103 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount); |
|
104 } |
|
105 protected: |
|
106 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags; |
|
107 }; |
|
108 |
|
109 const ClassInfo JSSVGPaintConstructor::s_info = { "SVGPaintConstructor", 0, &JSSVGPaintConstructorTable, 0 }; |
|
110 |
|
111 JSSVGPaintConstructor::JSSVGPaintConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) |
|
112 : DOMConstructorObject(JSSVGPaintConstructor::createStructure(globalObject->objectPrototype()), globalObject) |
|
113 { |
|
114 putDirect(exec->propertyNames().prototype, JSSVGPaintPrototype::self(exec, globalObject), DontDelete | ReadOnly); |
|
115 } |
|
116 |
|
117 bool JSSVGPaintConstructor::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) |
|
118 { |
|
119 return getStaticValueSlot<JSSVGPaintConstructor, DOMObject>(exec, &JSSVGPaintConstructorTable, this, propertyName, slot); |
|
120 } |
|
121 |
|
122 bool JSSVGPaintConstructor::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) |
|
123 { |
|
124 return getStaticValueDescriptor<JSSVGPaintConstructor, DOMObject>(exec, &JSSVGPaintConstructorTable, this, propertyName, descriptor); |
|
125 } |
|
126 |
|
127 /* Hash table for prototype */ |
|
128 #if ENABLE(JIT) |
|
129 #define THUNK_GENERATOR(generator) , generator |
|
130 #else |
|
131 #define THUNK_GENERATOR(generator) |
|
132 #endif |
|
133 |
|
134 static const HashTableValue JSSVGPaintPrototypeTableValues[13] = |
|
135 { |
|
136 { "SVG_PAINTTYPE_UNKNOWN", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_UNKNOWN), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
137 { "SVG_PAINTTYPE_RGBCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_RGBCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
138 { "SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_RGBCOLOR_ICCCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
139 { "SVG_PAINTTYPE_NONE", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_NONE), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
140 { "SVG_PAINTTYPE_CURRENTCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_CURRENTCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
141 { "SVG_PAINTTYPE_URI_NONE", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_NONE), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
142 { "SVG_PAINTTYPE_URI_CURRENTCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_CURRENTCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
143 { "SVG_PAINTTYPE_URI_RGBCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_RGBCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
144 { "SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
145 { "SVG_PAINTTYPE_URI", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPaintSVG_PAINTTYPE_URI), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
146 { "setUri", DontDelete | Function, (intptr_t)static_cast<NativeFunction>(jsSVGPaintPrototypeFunctionSetUri), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
147 { "setPaint", DontDelete | Function, (intptr_t)static_cast<NativeFunction>(jsSVGPaintPrototypeFunctionSetPaint), (intptr_t)4 THUNK_GENERATOR(0) }, |
|
148 { 0, 0, 0, 0 THUNK_GENERATOR(0) } |
|
149 }; |
|
150 |
|
151 #undef THUNK_GENERATOR |
|
152 static JSC_CONST_HASHTABLE HashTable JSSVGPaintPrototypeTable = { 35, 31, JSSVGPaintPrototypeTableValues, 0 }; |
|
153 const ClassInfo JSSVGPaintPrototype::s_info = { "SVGPaintPrototype", 0, &JSSVGPaintPrototypeTable, 0 }; |
|
154 |
|
155 JSObject* JSSVGPaintPrototype::self(ExecState* exec, JSGlobalObject* globalObject) |
|
156 { |
|
157 return getDOMPrototype<JSSVGPaint>(exec, globalObject); |
|
158 } |
|
159 |
|
160 bool JSSVGPaintPrototype::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) |
|
161 { |
|
162 return getStaticPropertySlot<JSSVGPaintPrototype, JSObject>(exec, &JSSVGPaintPrototypeTable, this, propertyName, slot); |
|
163 } |
|
164 |
|
165 bool JSSVGPaintPrototype::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) |
|
166 { |
|
167 return getStaticPropertyDescriptor<JSSVGPaintPrototype, JSObject>(exec, &JSSVGPaintPrototypeTable, this, propertyName, descriptor); |
|
168 } |
|
169 |
|
170 const ClassInfo JSSVGPaint::s_info = { "SVGPaint", &JSSVGColor::s_info, &JSSVGPaintTable, 0 }; |
|
171 |
|
172 JSSVGPaint::JSSVGPaint(NonNullPassRefPtr<Structure> structure, JSDOMGlobalObject* globalObject, PassRefPtr<SVGPaint> impl) |
|
173 : JSSVGColor(structure, globalObject, impl) |
|
174 { |
|
175 } |
|
176 |
|
177 JSObject* JSSVGPaint::createPrototype(ExecState* exec, JSGlobalObject* globalObject) |
|
178 { |
|
179 return new (exec) JSSVGPaintPrototype(globalObject, JSSVGPaintPrototype::createStructure(JSSVGColorPrototype::self(exec, globalObject))); |
|
180 } |
|
181 |
|
182 bool JSSVGPaint::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) |
|
183 { |
|
184 return getStaticValueSlot<JSSVGPaint, Base>(exec, &JSSVGPaintTable, this, propertyName, slot); |
|
185 } |
|
186 |
|
187 bool JSSVGPaint::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) |
|
188 { |
|
189 return getStaticValueDescriptor<JSSVGPaint, Base>(exec, &JSSVGPaintTable, this, propertyName, descriptor); |
|
190 } |
|
191 |
|
192 JSValue jsSVGPaintPaintType(ExecState* exec, JSValue slotBase, const Identifier&) |
|
193 { |
|
194 JSSVGPaint* castedThis = static_cast<JSSVGPaint*>(asObject(slotBase)); |
|
195 UNUSED_PARAM(exec); |
|
196 SVGPaint* imp = static_cast<SVGPaint*>(castedThis->impl()); |
|
197 JSValue result = jsNumber(exec, imp->paintType()); |
|
198 return result; |
|
199 } |
|
200 |
|
201 JSValue jsSVGPaintUri(ExecState* exec, JSValue slotBase, const Identifier&) |
|
202 { |
|
203 JSSVGPaint* castedThis = static_cast<JSSVGPaint*>(asObject(slotBase)); |
|
204 UNUSED_PARAM(exec); |
|
205 SVGPaint* imp = static_cast<SVGPaint*>(castedThis->impl()); |
|
206 JSValue result = jsString(exec, imp->uri()); |
|
207 return result; |
|
208 } |
|
209 |
|
210 JSValue jsSVGPaintConstructor(ExecState* exec, JSValue slotBase, const Identifier&) |
|
211 { |
|
212 JSSVGPaint* domObject = static_cast<JSSVGPaint*>(asObject(slotBase)); |
|
213 return JSSVGPaint::getConstructor(exec, domObject->globalObject()); |
|
214 } |
|
215 JSValue JSSVGPaint::getConstructor(ExecState* exec, JSGlobalObject* globalObject) |
|
216 { |
|
217 return getDOMConstructor<JSSVGPaintConstructor>(exec, static_cast<JSDOMGlobalObject*>(globalObject)); |
|
218 } |
|
219 |
|
220 EncodedJSValue JSC_HOST_CALL jsSVGPaintPrototypeFunctionSetUri(ExecState* exec) |
|
221 { |
|
222 JSValue thisValue = exec->hostThisValue(); |
|
223 if (!thisValue.inherits(&JSSVGPaint::s_info)) |
|
224 return throwVMTypeError(exec); |
|
225 JSSVGPaint* castedThis = static_cast<JSSVGPaint*>(asObject(thisValue)); |
|
226 SVGPaint* imp = static_cast<SVGPaint*>(castedThis->impl()); |
|
227 const String& uri = ustringToString(exec->argument(0).toString(exec)); |
|
228 |
|
229 imp->setUri(uri); |
|
230 return JSValue::encode(jsUndefined()); |
|
231 } |
|
232 |
|
233 EncodedJSValue JSC_HOST_CALL jsSVGPaintPrototypeFunctionSetPaint(ExecState* exec) |
|
234 { |
|
235 JSValue thisValue = exec->hostThisValue(); |
|
236 if (!thisValue.inherits(&JSSVGPaint::s_info)) |
|
237 return throwVMTypeError(exec); |
|
238 JSSVGPaint* castedThis = static_cast<JSSVGPaint*>(asObject(thisValue)); |
|
239 SVGPaint* imp = static_cast<SVGPaint*>(castedThis->impl()); |
|
240 ExceptionCode ec = 0; |
|
241 SVGPaint::SVGPaintType paintType = static_cast<SVGPaint::SVGPaintType>(exec->argument(0).toInt32(exec)); |
|
242 const String& uri = ustringToString(exec->argument(1).toString(exec)); |
|
243 const String& rgbColor = ustringToString(exec->argument(2).toString(exec)); |
|
244 const String& iccColor = ustringToString(exec->argument(3).toString(exec)); |
|
245 |
|
246 imp->setPaint(paintType, uri, rgbColor, iccColor, ec); |
|
247 setDOMException(exec, ec); |
|
248 return JSValue::encode(jsUndefined()); |
|
249 } |
|
250 |
|
251 // Constant getters |
|
252 |
|
253 JSValue jsSVGPaintSVG_PAINTTYPE_UNKNOWN(ExecState* exec, JSValue, const Identifier&) |
|
254 { |
|
255 return jsNumber(exec, static_cast<int>(0)); |
|
256 } |
|
257 |
|
258 JSValue jsSVGPaintSVG_PAINTTYPE_RGBCOLOR(ExecState* exec, JSValue, const Identifier&) |
|
259 { |
|
260 return jsNumber(exec, static_cast<int>(1)); |
|
261 } |
|
262 |
|
263 JSValue jsSVGPaintSVG_PAINTTYPE_RGBCOLOR_ICCCOLOR(ExecState* exec, JSValue, const Identifier&) |
|
264 { |
|
265 return jsNumber(exec, static_cast<int>(2)); |
|
266 } |
|
267 |
|
268 JSValue jsSVGPaintSVG_PAINTTYPE_NONE(ExecState* exec, JSValue, const Identifier&) |
|
269 { |
|
270 return jsNumber(exec, static_cast<int>(101)); |
|
271 } |
|
272 |
|
273 JSValue jsSVGPaintSVG_PAINTTYPE_CURRENTCOLOR(ExecState* exec, JSValue, const Identifier&) |
|
274 { |
|
275 return jsNumber(exec, static_cast<int>(102)); |
|
276 } |
|
277 |
|
278 JSValue jsSVGPaintSVG_PAINTTYPE_URI_NONE(ExecState* exec, JSValue, const Identifier&) |
|
279 { |
|
280 return jsNumber(exec, static_cast<int>(103)); |
|
281 } |
|
282 |
|
283 JSValue jsSVGPaintSVG_PAINTTYPE_URI_CURRENTCOLOR(ExecState* exec, JSValue, const Identifier&) |
|
284 { |
|
285 return jsNumber(exec, static_cast<int>(104)); |
|
286 } |
|
287 |
|
288 JSValue jsSVGPaintSVG_PAINTTYPE_URI_RGBCOLOR(ExecState* exec, JSValue, const Identifier&) |
|
289 { |
|
290 return jsNumber(exec, static_cast<int>(105)); |
|
291 } |
|
292 |
|
293 JSValue jsSVGPaintSVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR(ExecState* exec, JSValue, const Identifier&) |
|
294 { |
|
295 return jsNumber(exec, static_cast<int>(106)); |
|
296 } |
|
297 |
|
298 JSValue jsSVGPaintSVG_PAINTTYPE_URI(ExecState* exec, JSValue, const Identifier&) |
|
299 { |
|
300 return jsNumber(exec, static_cast<int>(107)); |
|
301 } |
|
302 |
|
303 |
|
304 } |
|
305 |
|
306 #endif // ENABLE(SVG) |