Rename InlineBox::remove() to removeFromParent
[WebKit-https.git] / Source / WebCore / rendering / RenderText.cpp
index ee7470e..7042f27 100644 (file)
@@ -1002,7 +1002,7 @@ void RenderText::positionLineBox(InlineBox* box)
     // FIXME: should not be needed!!!
     if (!textBox->len()) {
         // We want the box to be destroyed.
-        textBox->remove();
+        textBox->removeFromParent();
         m_lineBoxes.remove(*textBox);
         textBox->destroy(renderArena());
         return;