| Index: Source/platform/fonts/CustomFontData.h
|
| diff --git a/Source/platform/fonts/CustomFontData.h b/Source/platform/fonts/CustomFontData.h
|
| index 616179b691b2c873b5f89f321248b5ba76fbf308..1ac90e670d9709984e07f7b1b44e1dc08dcf1518 100644
|
| --- a/Source/platform/fonts/CustomFontData.h
|
| +++ b/Source/platform/fonts/CustomFontData.h
|
| @@ -22,17 +22,12 @@
|
| #define CustomFontData_h
|
|
|
| #include "platform/PlatformExport.h"
|
| -#include "platform/fonts/Glyph.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| -#include <unicode/uchar.h>
|
|
|
| namespace blink {
|
|
|
| -struct GlyphData;
|
| -class GlyphPage;
|
| class SimpleFontData;
|
| -struct SimpleShaper;
|
|
|
| class PLATFORM_EXPORT CustomFontData : public RefCounted<CustomFontData> {
|
| public:
|
| @@ -47,18 +42,11 @@ public:
|
| virtual void clearFontFaceSource() { }
|
|
|
| virtual void initializeFontData(SimpleFontData*, float) { }
|
| - virtual float widthForSVGGlyph(Glyph, float) const { return 0.0f; }
|
| - virtual bool fillSVGGlyphPage(GlyphPage*, unsigned, unsigned, UChar*, unsigned, const SimpleFontData*) const { return false; }
|
| - virtual bool applySVGGlyphSelection(SimpleShaper&, GlyphData&, bool, int, unsigned&) const { return false; }
|
|
|
| protected:
|
| CustomFontData() { }
|
| };
|
|
|
| -#define DEFINE_CUSTOM_FONT_DATA_TYPE_CASTS(thisType, predicate) \
|
| - template<typename T> inline thisType* to##thisType(const RefPtr<T>& customFontData) { return to##thisType(customFontData.get()); } \
|
| - DEFINE_TYPE_CASTS(thisType, CustomFontData, customFontData, customFontData->predicate, customFontData.predicate)
|
| -
|
| } // namespace blink
|
|
|
| #endif // CustomFontData_h
|
|
|