Index: third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp |
diff --git a/third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp b/third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp |
index a66a9a403596cef4e4be18121a25cc765732a9b8..8f05ccbef39ebe1ff24aa7270a971f3f7308da95 100644 |
--- a/third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp |
+++ b/third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp |
@@ -224,9 +224,7 @@ void FirstLetterPseudoElement::setRemainingTextLayoutObject( |
// to tell our parent element to recalcStyle so we can get cleaned up |
// as well. |
if (!fragment) |
- setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create( |
- StyleChangeReason::PseudoClass)); |
- |
+ parentNode()->markAncestorsWithChildNeedsReattachLayoutTree(); |
m_remainingTextLayoutObject = fragment; |
} |