| Index: sky/engine/core/rendering/RenderObject.cpp
|
| diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
|
| index cef08494e1e69e147cad0b9ae8ea864f085b672e..b95a7f86e735f8797436d7897290a8a31efd3f7b 100644
|
| --- a/sky/engine/core/rendering/RenderObject.cpp
|
| +++ b/sky/engine/core/rendering/RenderObject.cpp
|
| @@ -440,7 +440,7 @@ bool RenderObject::skipInvalidationWhenLaidOutChildren() const
|
|
|
| // SVG renderers need to be invalidated when their children are laid out.
|
| // RenderBlocks with line boxes are responsible to invalidate them so we can't ignore them.
|
| - if (isRenderBlockFlow() && toRenderBlockFlow(this)->firstLineBox())
|
| + if (isRenderParagraph() && toRenderParagraph(this)->firstLineBox())
|
| return false;
|
|
|
| return rendererHasNoBoxEffect();
|
| @@ -1239,7 +1239,7 @@ void RenderObject::styleWillChange(StyleDifference diff, const RenderStyle& newS
|
|
|
| s_affectsParentBlock = isFloatingOrOutOfFlowPositioned()
|
| && !newStyle.hasOutOfFlowPosition()
|
| - && parent() && (parent()->isRenderBlockFlow() || parent()->isRenderInline());
|
| + && parent() && (parent()->isRenderParagraph() || parent()->isRenderInline());
|
|
|
| // Clearing these bits is required to avoid leaving stale renderers.
|
| // FIXME: We shouldn't need that hack if our logic was totally correct.
|
|
|