| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index dad59a8555c06933c6fb76ae84ec546c98e8d15e..071f3e571de4f37f3e6d306e1cfc1b9a1443a629 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -1180,22 +1180,6 @@ bool Node::isBlockFlowElement() const
|
| return isElementNode() && renderer() && renderer()->isRenderBlockFlow();
|
| }
|
|
|
| -Element *Node::enclosingBlockFlowElement() const
|
| -{
|
| - Node *n = const_cast<Node *>(this);
|
| - if (isBlockFlowElement())
|
| - return toElement(n);
|
| -
|
| - while (1) {
|
| - n = n->parentNode();
|
| - if (!n)
|
| - break;
|
| - if (n->isBlockFlowElement() || isHTMLBodyElement(*n))
|
| - return toElement(n);
|
| - }
|
| - return 0;
|
| -}
|
| -
|
| bool Node::isRootEditableElement() const
|
| {
|
| return hasEditableStyle() && isElementNode() && (!parentNode() || !parentNode()->hasEditableStyle()
|
| @@ -1224,11 +1208,6 @@ Element* Node::rootEditableElement() const
|
| return result;
|
| }
|
|
|
| -bool Node::inSameContainingBlockFlowElement(Node *n)
|
| -{
|
| - return n ? enclosingBlockFlowElement() == n->enclosingBlockFlowElement() : false;
|
| -}
|
| -
|
| // FIXME: End of obviously misplaced HTML editing functions. Try to move these out of Node.
|
|
|
| Document* Node::ownerDocument() const
|
|
|