[webkit-changes] [WebKit/WebKit] 461df4: Replace enum by enum class in ComplexTextController

Vitor Roriz noreply at github.com
Thu Apr 25 14:42:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 461df4d737680c2121ff4bd237380b755e79b6fe
      https://github.com/WebKit/WebKit/commit/461df4d737680c2121ff4bd237380b755e79b6fe
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/ComplexTextController.cpp
    M Source/WebCore/platform/graphics/ComplexTextController.h
    M Source/WebCore/platform/graphics/FontCascade.cpp

  Log Message:
  -----------
  Replace enum by enum class in ComplexTextController
https://bugs.webkit.org/show_bug.cgi?id=273263
rdar://127064972

Reviewed by Matthieu Dubet.

This is the last "enum" use ComplexTextController.
We are replacing it by enum class here.

* Source/WebCore/platform/graphics/ComplexTextController.cpp:
(WebCore::TextLayout::width):
(WebCore::ComplexTextController::runWidthSoFarFraction const):
* Source/WebCore/platform/graphics/ComplexTextController.h:
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::widthOfTextRange const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list