NULL-deref in RenderBox::clippedOverflowRectForRepaint
[WebKit.git] / Source / WebCore / rendering / RenderInline.cpp
index dd46afcc13b148ac0ab59f949a27821a7291ddd8..5e8565cf79124c2ab87a54cab745631112146247 100644 (file)
@@ -1058,7 +1058,7 @@ LayoutRect RenderInline::clippedOverflowRectForRepaint(RenderBoxModelObject* rep
             }
         }
 
-        if (continuation() && !continuation()->isInline()) {
+        if (continuation() && !continuation()->isInline() && continuation()->parent()) {
             LayoutRect contRect = continuation()->rectWithOutlineForRepaint(repaintContainer, ow);
             r.unite(contRect);
         }