Changeset 270569 in webkit
- Timestamp:
- Dec 8, 2020, 10:00:24 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
rendering/RenderObject.cpp (modified) (2 diffs)
-
rendering/RenderText.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r270567 r270569 1 2020-12-08 Lauro Moura <lmoura@igalia.com> 2 3 Unreviewed. Add missing LFC guards around LineLayout usage from r270544 4 5 Fix build when LFC is disabled, like in Ubuntu LTS/Debian Stable bots. 6 7 * rendering/RenderObject.cpp: 8 (WebCore::RenderObject::insertedIntoTree): 9 (WebCore::RenderObject::willBeRemovedFromTree): 10 * rendering/RenderText.cpp: 11 (WebCore::RenderText::setText): 12 1 13 2020-12-08 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r270544 r270569 1467 1467 void RenderObject::insertedIntoTree() 1468 1468 { 1469 #if ENABLE(LAYOUT_FORMATTING_CONTEXT) 1469 1470 if (auto* container = LayoutIntegration::LineLayout::blockContainer(*this)) 1470 1471 container->invalidateLineLayoutPath(); 1472 #endif 1471 1473 1472 1474 // FIXME: We should ASSERT(isRooted()) here but generated content makes some out-of-order insertion. … … 1477 1479 void RenderObject::willBeRemovedFromTree() 1478 1480 { 1481 #if ENABLE(LAYOUT_FORMATTING_CONTEXT) 1479 1482 if (auto* container = LayoutIntegration::LineLayout::blockContainer(*this)) 1480 1483 container->invalidateLineLayoutPath(); 1484 #endif 1481 1485 1482 1486 // FIXME: We should ASSERT(isRooted()) but we have some out-of-order removals which would need to be fixed first. -
trunk/Source/WebCore/rendering/RenderText.cpp
r270544 r270569 1462 1462 m_knownToHaveNoOverflowAndNoFallbackFonts = false; 1463 1463 1464 #if ENABLE(LAYOUT_FORMATTING_CONTEXT) 1464 1465 if (auto* container = LayoutIntegration::LineLayout::blockContainer(*this)) 1465 1466 container->invalidateLineLayoutPath(); 1467 #endif 1466 1468 1467 1469 if (AXObjectCache* cache = document().existingAXObjectCache())
Note:
See TracChangeset
for help on using the changeset viewer.