Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 07cafb8f6b21f8dbfa183b97c420c1de3c3e6edc https://github.com/WebKit/WebKit/commit/07cafb8f6b21f8dbfa183b97c420c1de3c3e6edc Author: Chris Dumez <cdu...@apple.com> Date: 2023-04-18 (Tue, 18 Apr 2023)
Changed paths: M Source/WebCore/html/HTMLInputElement.cpp M Source/WebCore/html/HTMLInputElement.h Log Message: ----------- Avoid type attribute lookup in HTMLInputElement::updateType() https://bugs.webkit.org/show_bug.cgi?id=255607 Reviewed by Darin Adler. Avoid type attribute lookup in HTMLInputElement::updateType(). One of the call sites already has the type attribute value and can pass it in argument. * Source/WebCore/html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::updateType): (WebCore::HTMLInputElement::attributeChanged): (WebCore::HTMLInputElement::willAttachRenderers): * Source/WebCore/html/HTMLInputElement.h: Canonical link: https://commits.webkit.org/263090@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes