Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index fb0062c7711f8310c7700117e88d6e360ffe14e5..5821745f9ef884bfe2419989ea5508eb42914be4 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -1790,11 +1790,6 @@ void LayoutObject::setStyle(PassRefPtr<ComputedStyle> style) |
diff = adjustStyleDifference(diff); |
- if (m_style) { |
- LayoutFlowThread* flowThread = flowThreadContainingBlock(); |
- if (flowThread && flowThread != this) |
- flowThread->flowThreadDescendantStyleWillChange(this, diff, *style); |
- } |
styleWillChange(diff, *style); |
RefPtr<ComputedStyle> oldStyle = m_style.release(); |
@@ -1811,11 +1806,6 @@ void LayoutObject::setStyle(PassRefPtr<ComputedStyle> style) |
bool doesNotNeedLayoutOrPaintInvalidation = !m_parent; |
styleDidChange(diff, oldStyle.get()); |
- if (oldStyle.get()) { |
- LayoutFlowThread* flowThread = flowThreadContainingBlock(); |
- if (flowThread && flowThread != this) |
- flowThread->flowThreadDescendantStyleDidChange(this, diff, *oldStyle.get()); |
- } |
// FIXME: |this| might be destroyed here. This can currently happen for a LayoutTextFragment when |
// its first-letter block gets an update in LayoutTextFragment::styleDidChange. For LayoutTextFragment(s), |