[webkit-changes] [WebKit/WebKit] c00211: Replace plain enum's by enum class at FontCascade

Vitor Roriz noreply at github.com
Fri May 3 20:11:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c002113a5d2bf93d8b868fd78dd014c5005b9bf6
      https://github.com/WebKit/WebKit/commit/c002113a5d2bf93d8b868fd78dd014c5005b9bf6
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
    M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h
    M Source/WebCore/platform/graphics/FontCascade.cpp
    M Source/WebCore/platform/graphics/FontCascade.h
    M Source/WebCore/platform/graphics/GraphicsContext.h
    M Source/WebCore/platform/graphics/NullGraphicsContext.h

  Log Message:
  -----------
  Replace plain enum's by enum class at FontCascade
https://bugs.webkit.org/show_bug.cgi?id=273719
rdar://127519509

Reviewed by Sammy Gill.

There are 2 plain enum's on FontCascade.
This patch replace them by enum class.

* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::drawTextUnchecked):
* Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h:
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::layoutSimpleText const):
* Source/WebCore/platform/graphics/FontCascade.h:
* Source/WebCore/platform/graphics/GraphicsContext.h:
* Source/WebCore/platform/graphics/NullGraphicsContext.h:

Canonical link: https://commits.webkit.org/278361@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