| Index: sky/engine/core/rendering/RenderBlock.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlock.cpp b/sky/engine/core/rendering/RenderBlock.cpp
|
| index 883daadcf128b6d3956f56e65b9b969529505cd8..d5eaf280d1620286901bae53715e23176c3e1620 100644
|
| --- a/sky/engine/core/rendering/RenderBlock.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlock.cpp
|
| @@ -437,6 +437,8 @@ bool RenderBlock::hasCaret() const
|
|
|
| void RenderBlock::paintCarets(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| + if (!frame())
|
| + return;
|
| FrameSelection& selection = frame()->selection();
|
| if (hasCursorCaret(selection, this)) {
|
| selection.paintCaret(paintInfo.context, paintOffset, paintInfo.rect);
|
|
|