Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fd7c1f2261ac273ed5b757ea85426aef4d00f37c
https://github.com/WebKit/WebKit/commit/fd7c1f2261ac273ed5b757ea85426aef4d00f37c
Author: Chris Dumez <[email protected]>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M Source/WebCore/bindings/js/JSEventTargetCustom.cpp
M Source/WebCore/bindings/js/JSEventTargetCustom.h
M Source/WebCore/dom/MouseEvent.cpp
Log Message:
-----------
Avoid heap allocation in jsEventTargetCast()
https://bugs.webkit.org/show_bug.cgi?id=254672
Reviewed by Darin Adler.
* Source/WebCore/bindings/js/JSEventTargetCustom.cpp:
(WebCore::jsEventTargetCast):
* Source/WebCore/bindings/js/JSEventTargetCustom.h:
(WebCore::JSEventTargetWrapper::JSEventTargetWrapper):
(WebCore::JSEventTargetWrapper::isValid const):
(WebCore::JSEventTargetWrapper::wrapped):
(WebCore::JSEventTargetWrapper::operator JSC::JSObject&):
(WebCore::IDLOperation<JSEventTarget>::call):
* Source/WebCore/dom/MouseEvent.cpp:
(WebCore::MouseEvent::initMouseEventQuirk):
Canonical link: https://commits.webkit.org/262294@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes