Bug 245234

Summary: Avoid hash map look up in InputType::createIfDifferent when possible
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: FormsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryosuke Niwa 2022-09-15 11:03:35 PDT
InputType::createIfDifferent should avoid hash map lookup
when the current type name is identically equal to the new type name.
Comment 1 Ryosuke Niwa 2022-09-15 11:06:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4392
Comment 2 EWS 2022-09-16 01:28:04 PDT
Committed 254547@main (f4a09a78399b): <https://commits.webkit.org/254547@main>

Reviewed commits have been landed. Closing PR #4392 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-09-16 01:29:20 PDT
<rdar://problem/100016270>