[webkit-changes] [WebKit/WebKit] 8ef375: Centralize FontCustomPlatformData.h
Don Olmstead
noreply at github.com
Wed Feb 8 17:18:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8ef37583b24efc67acc55f632ffcbf3d5a2de0b6
https://github.com/WebKit/WebKit/commit/8ef37583b24efc67acc55f632ffcbf3d5a2de0b6
Author: Don Olmstead <don.olmstead at sony.com>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/PlatformMac.cmake
M Source/WebCore/PlatformWin.cmake
M Source/WebCore/PlatformWinCairo.cmake
M Source/WebCore/SourcesCocoa.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
A Source/WebCore/platform/graphics/FontCustomPlatformData.h
R Source/WebCore/platform/graphics/cairo/FontCustomPlatformData.h
M Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
R Source/WebCore/platform/graphics/mac/FontCustomPlatformData.cpp
R Source/WebCore/platform/graphics/mac/FontCustomPlatformData.h
A Source/WebCore/platform/graphics/mac/FontCustomPlatformDataMac.cpp
R Source/WebCore/platform/graphics/win/FontCustomPlatformData.h
R Source/WebCore/platform/graphics/win/FontCustomPlatformDataCairo.cpp
A Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp
Log Message:
-----------
Centralize FontCustomPlatformData.h
https://bugs.webkit.org/show_bug.cgi?id=251946
Reviewed by Brent Fulgham and Adrian Perez de Castro.
There were three different versions of this, cairo, win, and mac. When
removing the AppleWin build the cairo version of the file got included
so move the file to a single place and use guards around for each
variant.
Also rename the files according to conventions.
* Source/WebCore/Headers.cmake:
* Source/WebCore/PlatformMac.cmake:
* Source/WebCore/PlatformWin.cmake:
* Source/WebCore/PlatformWinCairo.cmake:
* Source/WebCore/SourcesCocoa.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/graphics/FontCustomPlatformData.h: Added.
* Source/WebCore/platform/graphics/cairo/FontCustomPlatformData.h: Removed.
* Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:
* Source/WebCore/platform/graphics/mac/FontCustomPlatformData.h: Removed.
* Source/WebCore/platform/graphics/mac/FontCustomPlatformDataMac.cpp: Renamed from Source\WebCore\platform\graphics\mac\FontCustomPlatformData.cpp.
* Source/WebCore/platform/graphics/win/FontCustomPlatformData.h: Removed.
* Source/WebCore/platform/graphics/win/FontCustomPlatformDataWin.cpp: Renamed from Source\WebCore\platform\graphics\win\FontCustomPlatformDataCairo.cpp.
Canonical link: https://commits.webkit.org/260041@main
More information about the webkit-changes
mailing list