2011-03-10 Alejandro G. Castro <alex@igalia.com>
authoralex@webkit.org <alex@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Mar 2011 20:32:48 +0000 (20:32 +0000)
committeralex@webkit.org <alex@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Mar 2011 20:32:48 +0000 (20:32 +0000)
commit3b6ec12097e89995169595e9fd6f581281a38427
treead68136ecdb0a02aa9a6a571196a57a385f4a789
parent8eb33a8c6d8e7983f8ddba1de4483ea97dcafd7d
2011-03-10  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Some Gtk code uses defined(USE_FREETYPE) instead of just USE(FREETYPE)
        https://bugs.webkit.org/show_bug.cgi?id=55996

        Use the macre USE instead of defined fro WTF_USE_FREETYPE and
        WTF_USE_PANGO.

        * GNUmakefile.am:
        * platform/graphics/cairo/OwnPtrCairo.cpp:
        * platform/graphics/cairo/OwnPtrCairo.h:
        * platform/graphics/cairo/RefPtrCairo.cpp:
        * platform/graphics/cairo/RefPtrCairo.h:
        * platform/graphics/gtk/FontGtk.cpp:
        (WebCore::setPangoAttributes):
        (WebCore::Font::drawComplexText):
        (WebCore::Font::floatWidthForComplexText):
        (WebCore::Font::offsetForPositionForComplexText):
        (WebCore::Font::selectionRectForComplexText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.am
Source/WebCore/platform/graphics/cairo/OwnPtrCairo.cpp
Source/WebCore/platform/graphics/cairo/OwnPtrCairo.h
Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp
Source/WebCore/platform/graphics/cairo/RefPtrCairo.h
Source/WebCore/platform/graphics/gtk/FontGtk.cpp