[webkit-changes] [WebKit/WebKit] 4dce32: Replace calls to InputType::formControlType() with...
Chris Dumez
noreply at github.com
Tue Apr 18 18:09:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4dce328fc705bb43fedea8c22c4289002b524f3f
https://github.com/WebKit/WebKit/commit/4dce328fc705bb43fedea8c22c4289002b524f3f
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/InputType.cpp
Log Message:
-----------
Replace calls to InputType::formControlType() with InputType::type() whenever possible
https://bugs.webkit.org/show_bug.cgi?id=255632
Reviewed by Aditya Keerthi.
Replace calls to InputType::formControlType() with InputType::type() whenever
possible, since formControlType() is virtual. `formControlType()` returns an
AtomString representing the input type, while type()` returns the same thing as
an enum value.
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType):
* Source/WebCore/html/InputType.cpp:
(WebCore::InputType::createIfDifferent):
Canonical link: https://commits.webkit.org/263110@main
More information about the webkit-changes
mailing list