Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Cairo] Remove unnecessary cairo.h includes
https://bugs.webkit.org/show_bug.cgi?id=177540 Reviewed by Carlos Garcia Campos. Drop unnecessary includes of the cairo.h header from the Font.h, FontPlatformData.h and Pattern.h headers. For the former two the header isn't required, while in the last one we can use a forward declaration for the cairo_pattern_t type instead of including the whole Cairo headers to have that available. * platform/graphics/Font.h: * platform/graphics/FontPlatformData.h: * platform/graphics/Pattern.h: Canonical link: https://commits.webkit.org/193889@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,6 @@ | |
|
||
#if USE(CAIRO) | ||
#include "RefPtrCairo.h" | ||
#include <cairo.h> | ||
#endif | ||
|
||
#if USE(FREETYPE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters