diff options
author | Russell Brenner <russellbrenner@google.com> | 2011-08-18 11:21:29 -0700 |
---|---|---|
committer | Russell Brenner <russellbrenner@google.com> | 2011-08-18 11:24:57 -0700 |
commit | 1db0d82059cab3136dc026590c1f0da81b84bb35 (patch) | |
tree | d485bec6bb5e7f528c9deefb415e632c2799d795 /Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp | |
parent | b3676d1d75c8159c6cf8621ef840e7694685efd7 (diff) | |
download | external_webkit-1db0d82059cab3136dc026590c1f0da81b84bb35.zip external_webkit-1db0d82059cab3136dc026590c1f0da81b84bb35.tar.gz external_webkit-1db0d82059cab3136dc026590c1f0da81b84bb35.tar.bz2 |
Revert "Add Harfbuzz support for system fallback fonts"
On large pages, too many font file references are open for mmap
streaming. Rolling back this feature while I add caching.
This reverts commit cfcbe02678eabf19b6b904be61d9991d4515ecb6.
Bug: 5179817
Change-Id: I689db7794c945d548a90006b9484467b784d4b11
Diffstat (limited to 'Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp b/Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp index 1c3c5d9..337a94d 100644 --- a/Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp @@ -127,17 +127,6 @@ FontPlatformData::FontPlatformData(float size, bool bold, bool oblique) trace(5); } -FontPlatformData::FontPlatformData(const FontPlatformData& src, SkTypeface* tf) - : mTypeface(tf), mTextSize(src.mTextSize), mFakeBold(src.mFakeBold), mFakeItalic(src.mFakeItalic) -{ - if (hashTableDeletedFontValue() != mTypeface) { - SkSafeRef(mTypeface); - } - - inc_count(); - trace(6); -} - FontPlatformData::~FontPlatformData() { dec_count(); |