Changeset 222604 in webkit
- Timestamp:
- Sep 27, 2017 11:18:21 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r222603 r222604 1 2017-09-27 Zan Dobersek <zdobersek@igalia.com> 2 3 [Cairo] Remove unnecessary cairo.h includes 4 https://bugs.webkit.org/show_bug.cgi?id=177540 5 6 Reviewed by Carlos Garcia Campos. 7 8 Drop unnecessary includes of the cairo.h header from the Font.h, 9 FontPlatformData.h and Pattern.h headers. For the former two the 10 header isn't required, while in the last one we can use a forward 11 declaration for the cairo_pattern_t type instead of including 12 the whole Cairo headers to have that available. 13 14 * platform/graphics/Font.h: 15 * platform/graphics/FontPlatformData.h: 16 * platform/graphics/Pattern.h: 17 1 18 2017-09-27 Zan Dobersek <zdobersek@igalia.com> 2 19 -
trunk/Source/WebCore/platform/graphics/Font.h
r220506 r222604 46 46 #if PLATFORM(WIN) 47 47 #include <usp10.h> 48 #endif49 50 #if USE(CAIRO)51 #include <cairo.h>52 48 #endif 53 49 -
trunk/Source/WebCore/platform/graphics/FontPlatformData.h
r221152 r222604 37 37 #if USE(CAIRO) 38 38 #include "RefPtrCairo.h" 39 #include <cairo.h>40 39 #endif 41 40 -
trunk/Source/WebCore/platform/graphics/Pattern.h
r218799 r222604 41 41 typedef ID2D1BitmapBrush* PlatformPatternPtr; 42 42 #elif USE(CAIRO) 43 #include <cairo.h> 43 typedef struct _cairo_pattern cairo_pattern_t; 44 44 typedef cairo_pattern_t* PlatformPatternPtr; 45 45 #elif USE(WINGDI)
Note: See TracChangeset
for help on using the changeset viewer.