Title: [201160] trunk/Source/WebCore
- Revision
- 201160
- Author
- [email protected]
- Date
- 2016-05-19 07:15:09 -0700 (Thu, 19 May 2016)
Log Message
Remove castDOMMobjectForWrapperCreation(T&)
https://bugs.webkit.org/show_bug.cgi?id=157886
Reviewed by Andreas Kling.
No change of behavior.
* bindings/js/JSDOMBinding.h:
(WebCore::castDOMObjectForWrapperCreation): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (201159 => 201160)
--- trunk/Source/WebCore/ChangeLog 2016-05-19 13:22:18 UTC (rev 201159)
+++ trunk/Source/WebCore/ChangeLog 2016-05-19 14:15:09 UTC (rev 201160)
@@ -1,3 +1,15 @@
+2016-05-19 Youenn Fablet <[email protected]>
+
+ Remove castDOMMobjectForWrapperCreation(T&)
+ https://bugs.webkit.org/show_bug.cgi?id=157886
+
+ Reviewed by Andreas Kling.
+
+ No change of behavior.
+
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::castDOMObjectForWrapperCreation): Deleted.
+
2016-05-18 Antti Koivisto <[email protected]>
Style resolution for explicitly inherited properties is inefficient
Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (201159 => 201160)
--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h 2016-05-19 13:22:18 UTC (rev 201159)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h 2016-05-19 14:15:09 UTC (rev 201160)
@@ -154,9 +154,7 @@
bool clearInlineCachedWrapper(DOMWrapperWorld&, ScriptWrappable*, JSDOMObject* wrapper);
bool clearInlineCachedWrapper(DOMWrapperWorld&, JSC::ArrayBuffer*, JSC::JSArrayBuffer* wrapper);
-template<typename DOMClass, typename T> Ref<DOMClass> inline castDOMObjectForWrapperCreation(T& object) { return Ref<DOMClass>(*static_cast<DOMClass*>(&object)); }
template<typename DOMClass, typename T> Ref<DOMClass> inline castDOMObjectForWrapperCreation(Ref<T>&& object) { return static_reference_cast<DOMClass>(WTFMove(object)); }
-
#define CREATE_DOM_WRAPPER(globalObject, className, object) createWrapper<JS##className, className>(globalObject, castDOMObjectForWrapperCreation<className>(object))
template<typename DOMClass> JSC::JSObject* getCachedWrapper(DOMWrapperWorld&, DOMClass&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes