[webkit-changes] [WebKit/WebKit] b9d2ca: MarkedText::Type should be an enum class

Abrar Rahman Protyasha noreply at github.com
Sat Jun 17 11:31:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9d2ca0cd9ecf0999f088e8151cdb60faae37e26
      https://github.com/WebKit/WebKit/commit/b9d2ca0cd9ecf0999f088e8151cdb60faae37e26
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2023-06-17 (Sat, 17 Jun 2023)

  Changed paths:
    M Source/WebCore/rendering/MarkedText.cpp
    M Source/WebCore/rendering/MarkedText.h
    M Source/WebCore/rendering/StyledMarkedText.cpp
    M Source/WebCore/rendering/TextBoxPainter.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/MarkedText.cpp

  Log Message:
  -----------
  MarkedText::Type should be an enum class
https://bugs.webkit.org/show_bug.cgi?id=258238
rdar://110945040

Reviewed by Aditya Keerthi.

* Source/WebCore/rendering/MarkedText.cpp:
(WebCore::MarkedText::collectForHighlights):
(WebCore::MarkedText::collectForDocumentMarkers):
(WebCore::MarkedText::collectForDraggedContent):
* Source/WebCore/rendering/MarkedText.h:
* Source/WebCore/rendering/StyledMarkedText.cpp:
(WebCore::resolveStyleForMarkedText):
(WebCore::StyledMarkedText::subdivideAndResolve):
* Source/WebCore/rendering/TextBoxPainter.cpp:
(WebCore::TextBoxPainter<TextBoxPath>::createMarkedTextFromSelectionInBox):
(WebCore::TextBoxPainter<TextBoxPath>::paintCompositionForeground):
(WebCore::TextBoxPainter<TextBoxPath>::paintForegroundAndDecorations):
(WebCore::TextBoxPainter<TextBoxPath>::paintForeground):
(WebCore::TextBoxPainter<TextBoxPath>::createDecorationPainter):
(WebCore::TextBoxPainter<TextBoxPath>::paintPlatformDocumentMarker):
* Tools/TestWebKitAPI/Tests/WebCore/MarkedText.cpp:
(WebCore::operator<<):
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/265275@main




More information about the webkit-changes mailing list