[webkit-changes] [WebKit/WebKit] 5a42b1: OpenTypeMathData should depend on ENABLE(MATHML)

Don Olmstead noreply at github.com
Thu Feb 23 19:28:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a42b144278f6e999087354b9c9e08f77b24fe30
      https://github.com/WebKit/WebKit/commit/5a42b144278f6e999087354b9c9e08f77b24fe30
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/Font.cpp
    M Source/WebCore/platform/graphics/Font.h
    M Source/WebCore/platform/graphics/FontPlatformData.h
    M Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp
    M Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp
    M Source/WebCore/platform/graphics/opentype/OpenTypeMathData.h

  Log Message:
  -----------
  OpenTypeMathData should depend on ENABLE(MATHML)
https://bugs.webkit.org/show_bug.cgi?id=252851

Reviewed by Michael Catanzaro.

All the uses of `OpenTypeMathData` are within code guarded by
`ENABLE(MATHML)` so add the guard to it and its references in Font
classes.

Fixes PlayStation build after 260744 at main.

* Source/WebCore/platform/graphics/Font.cpp:
* Source/WebCore/platform/graphics/Font.h:
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp:
* Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp:
* Source/WebCore/platform/graphics/opentype/OpenTypeMathData.h:

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




More information about the webkit-changes mailing list