diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/platform/graphics/cairo/RefPtrCairo.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/platform/graphics/cairo/RefPtrCairo.h')
-rw-r--r-- | Source/WebCore/platform/graphics/cairo/RefPtrCairo.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/cairo/RefPtrCairo.h b/Source/WebCore/platform/graphics/cairo/RefPtrCairo.h index 0e1baf50a..8e92f4e6d 100644 --- a/Source/WebCore/platform/graphics/cairo/RefPtrCairo.h +++ b/Source/WebCore/platform/graphics/cairo/RefPtrCairo.h @@ -20,6 +20,8 @@ #ifndef RefPtrCairo_h #define RefPtrCairo_h +#if USE(CAIRO) + #include <wtf/RefPtr.h> typedef struct _cairo cairo_t; @@ -31,6 +33,7 @@ typedef struct _cairo_region cairo_region_t; #if USE(FREETYPE) typedef struct _FcPattern FcPattern; +typedef struct _FcConfig FcConfig; #endif namespace WTF { @@ -56,8 +59,13 @@ template<> void derefIfNotNull(cairo_region_t*); #if USE(FREETYPE) template<> void refIfNotNull(FcPattern* ptr); template<> void derefIfNotNull(FcPattern* ptr); + +template<> void refIfNotNull(FcConfig* ptr); +template<> void derefIfNotNull(FcConfig* ptr); #endif -} +} // namespace WTF + +#endif // USE(CAIRO) #endif // RefPtrCairo_h |