summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore')
-rw-r--r--Source/WebCore/dom/Document.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index e7e1124..ff50390 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -1489,8 +1489,14 @@ void Document::recalcStyle(StyleChange change)
if (change >= Inherit || n->childNeedsStyleRecalc() || n->needsStyleRecalc())
n->recalcStyle(change);
+ // FIXME: Disabling the deletion of retired custom font data until
+ // we fix all the stale style bugs (68804, 68624, etc). These bugs
+ // indicate problems where some styles were not updated in recalcStyle,
+ // thereby retaining stale copy of font data. To prevent that, we
+ // disable this code for now and only delete retired custom font data
+ // in Document destructor.
// Now that all RenderStyles that pointed to retired fonts have been updated, the fonts can safely be deleted.
- deleteRetiredCustomFonts();
+ // deleteRetiredCustomFonts();
#if USE(ACCELERATED_COMPOSITING)
if (view()) {