diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 16:55:37 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 16:55:37 +0000 |
commit | 89b760190db7878c341fb2d127011272cb03ccea (patch) | |
tree | a7f25bc0007519cee7d792ac1efc97ce80a270b3 | |
parent | c8f013798926e7095405b23f125a5647056e4462 (diff) | |
download | chromium_src-89b760190db7878c341fb2d127011272cb03ccea.zip chromium_src-89b760190db7878c341fb2d127011272cb03ccea.tar.gz chromium_src-89b760190db7878c341fb2d127011272cb03ccea.tar.bz2 |
Skia: Fix skia compile error with newer gcc versions.
http://codereview.chromium.org/63048
(by Craig Schlenter)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13428 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | skia/ports/SkFontHost_FreeType.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/ports/SkFontHost_FreeType.cpp b/skia/ports/SkFontHost_FreeType.cpp index 461145f..2a5483d 100644 --- a/skia/ports/SkFontHost_FreeType.cpp +++ b/skia/ports/SkFontHost_FreeType.cpp @@ -268,6 +268,7 @@ static void unref_ft_face(FT_Face face) { SkASSERT("shouldn't get here, face not in list"); } +#ifdef SKIA_HARFBUZZ void SkFaceRec::setupShaper(HB_ShaperItem* item) { if (!fHBFace) { fHBFace = HB_NewFace(fFace, hb_freetype_table_sfnt_get); @@ -288,6 +289,7 @@ void SkFaceRec::setupShaper(HB_ShaperItem* item) { void SkFaceRec::releaseShaper(HB_ShaperItem* item) { fRefCnt--; } +#endif /////////////////////////////////////////////////////////////////////////// |