Diff
Modified: trunk/Source/WebCore/ChangeLog (170073 => 170074)
--- trunk/Source/WebCore/ChangeLog 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/ChangeLog 2014-06-17 21:50:19 UTC (rev 170074)
@@ -1,3 +1,67 @@
+2014-06-17 Sam Weinig <[email protected]>
+
+ Remove unnecessary Structure flags from generated bindings
+ https://bugs.webkit.org/show_bug.cgi?id=133992
+
+ Reviewed by Daniel Bates.
+
+ - Remove OverridesVisitChildren flag from DOM prototype objects. They never
+ implement visitChildren.
+ - Remove OverridesGetOwnPropertySlot and ImplementsHasInstance from DOM constructor
+ objects. getOwnPropertySlot is never implemented and ImplementsHasInstance is inherited
+ automatically from DOMConstructorObject.
+ - If we are not changing any flags, we now don't emit StructureFlags at all for the class.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader):
+ (GeneratePrototypeDeclaration):
+ (GenerateConstructorDeclaration):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
+ (WebCore::JSTestActiveDOMObjectPrototype::JSTestActiveDOMObjectPrototype):
+ (WebCore::JSTestActiveDOMObjectConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
+ (WebCore::JSTestCustomNamedGetterPrototype::JSTestCustomNamedGetterPrototype):
+ (WebCore::JSTestCustomNamedGetterConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestEventConstructor.h:
+ (WebCore::JSTestEventConstructorPrototype::JSTestEventConstructorPrototype):
+ * bindings/scripts/test/JS/JSTestEventTarget.h:
+ (WebCore::JSTestEventTargetPrototype::JSTestEventTargetPrototype):
+ (WebCore::JSTestEventTargetConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestException.h:
+ (WebCore::JSTestExceptionPrototype::JSTestExceptionPrototype):
+ (WebCore::JSTestExceptionConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
+ (WebCore::JSTestGenerateIsReachablePrototype::JSTestGenerateIsReachablePrototype):
+ (WebCore::JSTestGenerateIsReachableConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestInterface.h:
+ (WebCore::JSTestInterfacePrototype::JSTestInterfacePrototype):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
+ (WebCore::JSTestMediaQueryListListenerPrototype::JSTestMediaQueryListListenerPrototype):
+ (WebCore::JSTestMediaQueryListListenerConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.h:
+ (WebCore::JSTestNamedConstructorPrototype::JSTestNamedConstructorPrototype):
+ (WebCore::JSTestNamedConstructorConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestNode.h:
+ (WebCore::JSTestNodePrototype::JSTestNodePrototype):
+ * bindings/scripts/test/JS/JSTestNondeterministic.h:
+ (WebCore::JSTestNondeterministicPrototype::JSTestNondeterministicPrototype):
+ (WebCore::JSTestNondeterministicConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestObj.h:
+ (WebCore::JSTestObjPrototype::JSTestObjPrototype):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
+ (WebCore::JSTestOverloadedConstructorsPrototype::JSTestOverloadedConstructorsPrototype):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
+ (WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
+ (WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):
+ * bindings/scripts/test/JS/JSTestTypedefs.h:
+ (WebCore::JSTestTypedefsPrototype::JSTestTypedefsPrototype):
+ * bindings/scripts/test/JS/JSattribute.h:
+ (WebCore::JSattributePrototype::JSattributePrototype):
+ (WebCore::JSattributeConstructor::createStructure):
+ * bindings/scripts/test/JS/JSreadonly.h:
+ (WebCore::JSreadonlyPrototype::JSreadonlyPrototype):
+ (WebCore::JSreadonlyConstructor::createStructure):
+
2014-06-17 Myles C. Maxfield <[email protected]>
[iOS] Input type=time elements styled with SVG fonts have 0 width
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2014-06-17 21:50:19 UTC (rev 170074)
@@ -1196,7 +1196,7 @@
push(@headerContent, "\n");
# Add prototype declaration.
- GeneratePrototypeDeclaration(\@headerContent, $className, $interface, $interfaceName, $needsVisitChildren);
+ GeneratePrototypeDeclaration(\@headerContent, $className, $interface, $interfaceName);
if (!$interface->extendedAttributes->{"NoInterfaceObject"}) {
$headerIncludes{"JSDOMBinding.h"} = 1;
@@ -4259,7 +4259,6 @@
my $className = shift;
my $interface = shift;
my $interfaceName = shift;
- my $needsVisitChildren = shift;
my $prototypeClassName = "${className}Prototype";
@@ -4288,9 +4287,6 @@
push(@$outputArray, " void finishCreation(JSC::VM&);\n");
}
}
- if ($interface->extendedAttributes->{"JSCustomMarkFunction"} or $needsVisitChildren) {
- $structureFlags{"JSC::OverridesVisitChildren"} = 1;
- }
push(@$outputArray,
" static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n" .
" {\n" .
@@ -4308,12 +4304,14 @@
push(@$outputArray, " ${prototypeClassName}(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }\n");
# structure flags
- push(@$outputArray, "protected:\n");
- push(@$outputArray, " static const unsigned StructureFlags = ");
- foreach my $structureFlag (sort (keys %structureFlags)) {
- push(@$outputArray, $structureFlag . " | ");
+ if (%structureFlags) {
+ push(@$outputArray, "protected:\n");
+ push(@$outputArray, " static const unsigned StructureFlags = ");
+ foreach my $structureFlag (sort (keys %structureFlags)) {
+ push(@$outputArray, $structureFlag . " | ");
+ }
+ push(@$outputArray, "Base::StructureFlags;\n");
}
- push(@$outputArray, "Base::StructureFlags;\n");
push(@$outputArray, "};\n\n");
}
@@ -4348,10 +4346,8 @@
push(@$outputArray, " return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());\n");
push(@$outputArray, " }\n");
- push(@$outputArray, "protected:\n");
- push(@$outputArray, " static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;\n");
-
if (IsConstructable($interface) && !$interface->extendedAttributes->{"NamedConstructor"}) {
+ push(@$outputArray, "protected:\n");
push(@$outputArray, " static JSC::EncodedJSValue JSC_HOST_CALL construct${className}(JSC::ExecState*);\n");
if (!HasCustomConstructor($interface)) {
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -116,8 +116,6 @@
private:
JSTestActiveDOMObjectPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestActiveDOMObjectConstructor : public DOMConstructorObject {
@@ -139,8 +137,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -120,8 +120,6 @@
private:
JSTestCustomNamedGetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestCustomNamedGetterConstructor : public DOMConstructorObject {
@@ -143,8 +141,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -117,8 +117,6 @@
private:
JSTestEventConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestEventConstructorConstructor : public DOMConstructorObject {
@@ -141,7 +139,6 @@
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestEventConstructor(JSC::ExecState*);
static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -124,8 +124,6 @@
private:
JSTestEventTargetPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = JSC::OverridesVisitChildren | Base::StructureFlags;
};
class JSTestEventTargetConstructor : public DOMConstructorObject {
@@ -147,8 +145,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -116,8 +116,6 @@
private:
JSTestExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestExceptionConstructor : public DOMConstructorObject {
@@ -139,8 +137,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -115,8 +115,6 @@
private:
JSTestGenerateIsReachablePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestGenerateIsReachableConstructor : public DOMConstructorObject {
@@ -138,8 +136,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -143,8 +143,6 @@
private:
JSTestInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestInterfaceConstructor : public DOMConstructorObject {
@@ -167,7 +165,6 @@
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestInterface(JSC::ExecState*);
#if ENABLE(TEST_INTERFACE)
static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -115,8 +115,6 @@
private:
JSTestMediaQueryListListenerPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestMediaQueryListListenerConstructor : public DOMConstructorObject {
@@ -138,8 +136,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -117,8 +117,6 @@
private:
JSTestNamedConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestNamedConstructorConstructor : public DOMConstructorObject {
@@ -140,8 +138,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
class JSTestNamedConstructorNamedConstructor : public DOMConstructorWithDocument {
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -86,8 +86,6 @@
private:
JSTestNodePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = JSC::OverridesVisitChildren | Base::StructureFlags;
};
class JSTestNodeConstructor : public DOMConstructorObject {
@@ -110,7 +108,6 @@
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestNode(JSC::ExecState*);
static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -115,8 +115,6 @@
private:
JSTestNondeterministicPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestNondeterministicConstructor : public DOMConstructorObject {
@@ -138,8 +136,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -129,8 +129,6 @@
private:
JSTestObjPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = JSC::OverridesVisitChildren | Base::StructureFlags;
};
class JSTestObjConstructor : public DOMConstructorObject {
@@ -153,7 +151,6 @@
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestObj(JSC::ExecState*);
static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -115,8 +115,6 @@
private:
JSTestOverloadedConstructorsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestOverloadedConstructorsConstructor : public DOMConstructorObject {
@@ -139,7 +137,6 @@
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors(JSC::ExecState*);
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors1(JSC::ExecState*);
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestOverloadedConstructors2(JSC::ExecState*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -121,8 +121,6 @@
private:
JSTestSerializedScriptValueInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = JSC::OverridesVisitChildren | Base::StructureFlags;
};
class JSTestSerializedScriptValueInterfaceConstructor : public DOMConstructorObject {
@@ -144,8 +142,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -116,8 +116,6 @@
private:
JSTestTypedefsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSTestTypedefsConstructor : public DOMConstructorObject {
@@ -140,7 +138,6 @@
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestTypedefs(JSC::ExecState*);
static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&);
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -115,8 +115,6 @@
private:
JSattributePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSattributeConstructor : public DOMConstructorObject {
@@ -138,8 +136,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (170073 => 170074)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2014-06-17 21:48:06 UTC (rev 170073)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2014-06-17 21:50:19 UTC (rev 170074)
@@ -115,8 +115,6 @@
private:
JSreadonlyPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { }
-protected:
- static const unsigned StructureFlags = Base::StructureFlags;
};
class JSreadonlyConstructor : public DOMConstructorObject {
@@ -138,8 +136,6 @@
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
-protected:
- static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
};