Diff
Modified: trunk/Source/WebCore/ChangeLog (201165 => 201166)
--- trunk/Source/WebCore/ChangeLog 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/ChangeLog 2016-05-19 16:11:52 UTC (rev 201166)
@@ -1,3 +1,63 @@
+2016-05-19 Chris Dumez <[email protected]>
+
+ Kill JSDOMBindings' createNewWrapper()
+ https://bugs.webkit.org/show_bug.cgi?id=157842
+
+ Reviewed by Youenn Fablet.
+
+ Kill JSDOMBindings' createNewWrapper() as it is identical to createWrapper().
+
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::createNewWrapper): Deleted.
+ * bindings/js/JSDocumentFragmentCustom.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/js/JSNodeListCustom.cpp:
+ (WebCore::createWrapper):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestGlobalObject.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ (WebCore::toJSNewlyCreated):
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ (WebCore::toJSNewlyCreated):
+
2016-05-18 Jer Noble <[email protected]>
Playback controls still valid after navigating back after watching YouTube video.
Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (201165 => 201166)
--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h 2016-05-19 16:11:52 UTC (rev 201166)
@@ -164,7 +164,6 @@
template<typename WrapperClass, typename DOMClass> WrapperClass* createWrapper(JSDOMGlobalObject*, Ref<DOMClass>&&);
template<typename DOMClass> JSC::JSValue wrap(JSC::ExecState*, JSDOMGlobalObject*, DOMClass&);
-template<typename WrapperClass, typename DOMClass> JSC::JSValue createNewWrapper(JSDOMGlobalObject*, Ref<DOMClass>&&);
void addImpureProperty(const AtomicString&);
@@ -471,12 +470,6 @@
return toJSNewlyCreated(state, globalObject, Ref<DOMClass>(domObject));
}
-template<typename WrapperClass, typename DOMClass> inline JSC::JSValue createNewWrapper(JSDOMGlobalObject* globalObject, Ref<DOMClass>&& domObject)
-{
- ASSERT(!getCachedWrapper(globalObject->world(), domObject));
- return createWrapper<WrapperClass>(globalObject, WTFMove(domObject));
-}
-
inline int32_t finiteInt32Value(JSC::JSValue value, JSC::ExecState* exec, bool& okay)
{
double number = value.toNumber(exec);
Modified: trunk/Source/WebCore/bindings/js/JSDocumentFragmentCustom.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/js/JSDocumentFragmentCustom.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/js/JSDocumentFragmentCustom.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -58,7 +58,7 @@
if (impl->isShadowRoot())
return CREATE_DOM_WRAPPER(globalObject, ShadowRoot, WTFMove(impl));
#endif
- return createNewWrapper<JSDocumentFragment>(globalObject, WTFMove(impl));
+ return createWrapper<JSDocumentFragment>(globalObject, WTFMove(impl));
}
JSValue toJS(ExecState* state, JSDOMGlobalObject* globalObject, DocumentFragment& impl)
Modified: trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -56,7 +56,7 @@
// FIXME: Adopt reportExtraMemoryVisited, and switch to reportExtraMemoryAllocated.
// https://bugs.webkit.org/show_bug.cgi?id=142595
globalObject.vm().heap.deprecatedReportExtraMemory(nodeList->memoryCost());
- return createNewWrapper<JSNodeList>(&globalObject, WTFMove(nodeList));
+ return createWrapper<JSNodeList>(&globalObject, WTFMove(nodeList));
}
JSC::JSValue toJSNewlyCreated(ExecState*, JSDOMGlobalObject* globalObject, Ref<NodeList>&& nodeList)
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2016-05-19 16:11:52 UTC (rev 201166)
@@ -3446,7 +3446,7 @@
globalObject->vm().heap.reportExtraMemoryAllocated(impl->memoryCost());
END
- push(@implContent, " return createNewWrapper<$className, $implType>(globalObject, WTFMove(impl));\n");
+ push(@implContent, " return createWrapper<$className, $implType>(globalObject, WTFMove(impl));\n");
push(@implContent, "}\n\n");
push(@implContent, "JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, $implType& impl)\n");
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -271,7 +271,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestActiveDOMObject, TestActiveDOMObject>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestActiveDOMObject, TestActiveDOMObject>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestActiveDOMObject& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -197,7 +197,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestClassWithJSBuiltinConstructor, TestClassWithJSBuiltinConstructor>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestClassWithJSBuiltinConstructor, TestClassWithJSBuiltinConstructor>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestClassWithJSBuiltinConstructor& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -187,7 +187,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestCustomConstructorWithNoInterfaceObject, TestCustomConstructorWithNoInterfaceObject>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestCustomConstructorWithNoInterfaceObject, TestCustomConstructorWithNoInterfaceObject>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCustomConstructorWithNoInterfaceObject& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -244,7 +244,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestCustomNamedGetter, TestCustomNamedGetter>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestCustomNamedGetter, TestCustomNamedGetter>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCustomNamedGetter& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -292,7 +292,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestEventConstructor, TestEventConstructor>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestEventConstructor, TestEventConstructor>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestEventConstructor& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -251,7 +251,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestEventTarget, TestEventTarget>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestEventTarget, TestEventTarget>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestEventTarget& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -225,7 +225,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestException, TestException>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestException, TestException>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestException& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -184,7 +184,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestGenerateIsReachable, TestGenerateIsReachable>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestGenerateIsReachable, TestGenerateIsReachable>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestGenerateIsReachable& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -366,7 +366,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestGlobalObject, TestGlobalObject>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestGlobalObject, TestGlobalObject>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestGlobalObject& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -924,7 +924,7 @@
// attribute to TestInterface.
static_assert(!__is_polymorphic(TestInterface), "TestInterface is polymorphic but the IDL claims it is not");
#endif
- return createNewWrapper<JSTestInterface, TestInterface>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestInterface, TestInterface>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestInterface& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -209,7 +209,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestMediaQueryListListener, TestMediaQueryListListener>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestMediaQueryListListener, TestMediaQueryListListener>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestMediaQueryListListener& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -232,7 +232,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestNamedConstructor, TestNamedConstructor>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestNamedConstructor, TestNamedConstructor>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNamedConstructor& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -264,7 +264,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestNode, TestNode>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestNode, TestNode>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNode& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -493,7 +493,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestNondeterministic, TestNondeterministic>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestNondeterministic, TestNondeterministic>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNondeterministic& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -6288,7 +6288,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestObj, TestObj>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestObj, TestObj>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestObj& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -268,7 +268,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestOverloadedConstructors, TestOverloadedConstructors>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestOverloadedConstructors, TestOverloadedConstructors>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverloadedConstructors& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -251,7 +251,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestOverrideBuiltins, TestOverrideBuiltins>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestOverrideBuiltins, TestOverrideBuiltins>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverrideBuiltins& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -326,7 +326,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestSerializedScriptValueInterface, TestSerializedScriptValueInterface>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestSerializedScriptValueInterface, TestSerializedScriptValueInterface>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestSerializedScriptValueInterface& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -681,7 +681,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSTestTypedefs, TestTypedefs>(globalObject, WTFMove(impl));
+ return createWrapper<JSTestTypedefs, TestTypedefs>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestTypedefs& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -225,7 +225,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createNewWrapper<JSattribute, attribute>(globalObject, WTFMove(impl));
+ return createWrapper<JSattribute, attribute>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, attribute& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (201165 => 201166)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp 2016-05-19 16:07:02 UTC (rev 201165)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp 2016-05-19 16:11:52 UTC (rev 201166)
@@ -163,7 +163,7 @@
// attribute to readonly.
static_assert(!__is_polymorphic(readonly), "readonly is polymorphic but the IDL claims it is not");
#endif
- return createNewWrapper<JSreadonly, readonly>(globalObject, WTFMove(impl));
+ return createWrapper<JSreadonly, readonly>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, readonly& impl)