Commit 1735b90d authored by eae@chromium.org's avatar eae@chromium.org

Remove WTF_USE_HARFBUZZ

Remove the WTF_USE_HARFBUZZ define and the remaining use of it as it is
it only used in files compiled on platforms where it is guaranteed to be
true.

Review URL: https://codereview.chromium.org/416273004

git-svn-id: svn://svn.chromium.org/blink/trunk@179185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 736dafd5
......@@ -138,7 +138,3 @@
#include <cstddef>
#endif
#if OS(LINUX) || OS(ANDROID) || OS(WIN)
#define WTF_USE_HARFBUZZ 1
#endif
......@@ -259,7 +259,6 @@ float SimpleFontData::platformWidthForGlyph(Glyph glyph) const
return SkScalarToFloat(width);
}
#if USE(HARFBUZZ)
bool SimpleFontData::canRenderCombiningCharacterSequence(const UChar* characters, size_t length) const
{
if (!m_combiningCharacterSequenceSupport)
......@@ -285,7 +284,6 @@ bool SimpleFontData::canRenderCombiningCharacterSequence(const UChar* characters
}
return false;
}
#endif
bool SimpleFontData::fillGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength) const
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment