diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/WebCore/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp b/Source/WebCore/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp index 2d9e86a35..b9d5fc8e8 100644 --- a/Source/WebCore/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp +++ b/Source/WebCore/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp @@ -350,16 +350,12 @@ static SkFontTableTag reverseByteOrder(uint32_t tableTag) const OpenTypeVerticalData* FontPlatformData::verticalData() const { - if (!uniqueID()) - return 0; return fontCache()->getVerticalData(uniqueID(), *this); } PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const { RefPtr<SharedBuffer> buffer; - if (!uniqueID()) - return buffer.release(); SkFontTableTag tag = reverseByteOrder(table); const size_t tableSize = SkFontHost::GetTableSize(uniqueID(), tag); |