[webkit-changes] [WebKit/WebKit] 07cafb: Avoid type attribute lookup in HTMLInputElement::u...
Chris Dumez
noreply at github.com
Tue Apr 18 11:49:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07cafb8f6b21f8dbfa183b97c420c1de3c3e6edc
https://github.com/WebKit/WebKit/commit/07cafb8f6b21f8dbfa183b97c420c1de3c3e6edc
Author: Chris Dumez <cdumez at 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
More information about the webkit-changes
mailing list