Changeset 31376 in webkit


Ignore:
Timestamp:
Mar 27, 2008 3:14:08 PM (16 years ago)
Author:
Simon Hausmann
Message:

Fix compilation against Qt 4.4 and one missing SVG_FONTS #ifdef.

Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r31374 r31376  
     12008-03-27  Simon Hausmann  <hausmann@webkit.org>
     2
     3        Fix compilation against Qt 4.4 and one missing SVG_FONTS #ifdef.
     4
     5        * platform/graphics/qt/FontQt.cpp:
     6        (WebCore::Font::floatWidth): Forgot to adjust this signture for Qt 4.4.
     7        * bindings/js/JSSVGElementWrapperFactory.cpp: Added a missing #ifdef
     8        for SVG_FONTS
     9
    1102008-03-27  Simon Hausmann  <hausmann@webkit.org>
    211
  • trunk/WebCore/bindings/js/JSSVGElementWrapperFactory.cpp

    r31374 r31376  
    2424
    2525#include "JSSVGAElement.h"
     26#if ENABLE(SVG_FONTS)
    2627#include "JSSVGAltGlyphElement.h"
     28#endif
    2729#include "JSSVGAnimateColorElement.h"
    2830#include "JSSVGAnimateElement.h"
  • trunk/WebCore/platform/graphics/qt/FontQt.cpp

    r31374 r31376  
    179179}
    180180
    181 float Font::floatWidth(const TextRun& run, int /*extraCharsAvailable*/, int& charsConsumed) const
     181float Font::floatWidth(const TextRun& run, int /*extraCharsAvailable*/, int& charsConsumed, String& glyphName) const
    182182{
    183183    charsConsumed = run.length();
     184    glyphName = "";
    184185    return width(run);
    185186}
Note: See TracChangeset for help on using the changeset viewer.