Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4dce328fc705bb43fedea8c22c4289002b524f3f
      
https://github.com/WebKit/WebKit/commit/4dce328fc705bb43fedea8c22c4289002b524f3f
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to