| Index: sky/engine/core/rendering/RenderBlock.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlock.cpp b/sky/engine/core/rendering/RenderBlock.cpp
|
| index 420ea6af2ce6fb6e3605e1b44080015a34d90ca1..7594bcbe5ca0467cb8e0b42cb193658e722ca62c 100644
|
| --- a/sky/engine/core/rendering/RenderBlock.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlock.cpp
|
| @@ -585,7 +585,7 @@ GapRects RenderBlock::selectionGaps(RenderBlock* rootBlock, const LayoutPoint& r
|
| // FIXME: overflow: auto/scroll regions need more math here, since painting in the border box is different from painting in the padding box (one is scrolled, the other is
|
| // fixed).
|
| GapRects result;
|
| - if (!isRenderBlockFlow()) // FIXME: Make multi-column selection gap filling work someday.
|
| + if (!isRenderParagraph()) // FIXME: Make multi-column selection gap filling work someday.
|
| return result;
|
|
|
| if (hasTransform()) {
|
| @@ -1444,10 +1444,10 @@ RenderBlock* RenderBlock::firstLineBlock() const
|
| RenderObject* parentBlock = firstLineBlock->parent();
|
| if (firstLineBlock->isReplaced()
|
| || !parentBlock
|
| - || !parentBlock->isRenderBlockFlow())
|
| + || !parentBlock->isRenderParagraph())
|
| break;
|
| ASSERT_WITH_SECURITY_IMPLICATION(parentBlock->isRenderBlock());
|
| - if (toRenderBlock(parentBlock)->firstChild() != firstLineBlock)
|
| + if (toRenderParagraph(parentBlock)->firstChild() != firstLineBlock)
|
| break;
|
| firstLineBlock = toRenderBlock(parentBlock);
|
| }
|
|
|