Safari crashes when calling execCommand on formatted html in special case
[WebKit-https.git] / WebCore / rendering / RenderObject.cpp
index e451c30f15a259c48fa1dfa0859f324b25e59b98..3dc565c5fcc42da2dd3672c7c73d8000d34d9a9d 100644 (file)
@@ -640,7 +640,7 @@ RenderBlock* RenderObject::containingBlock() const
     }
 
     if (!o || !o->isRenderBlock())
-        return 0; // Probably doesn't happen any more, but leave just in case. -dwh
+        return 0; // This can still happen in case of an orphaned tree
 
     return toRenderBlock(o);
 }