===================================================================
Gbp-Pq: Name fix-clearselection-segfault.patch
#endif
RenderBlock* cb = containingBlock();
+ if (!cb)
+ return LayoutUnit();
return cb->availableLogicalWidth();
}
#endif
RenderBlock* cb = containingBlock();
+ if (!cb)
+ return LayoutUnit();
return cb->availableLogicalHeight(heightType);
}
void RenderView::clearSelection()
{
layer()->repaintBlockSelectionGaps();
- setSelection(0, -1, 0, -1, RepaintNewMinusOld);
+ setSelection(nullptr, -1, nullptr, -1, RepaintNewMinusOld);
}
bool RenderView::printing() const