Index: Source/WebCore/editing/htmlediting.cpp |
diff --git a/Source/WebCore/editing/htmlediting.cpp b/Source/WebCore/editing/htmlediting.cpp |
index 2aaa73043dd341df0f9bb2ff89bee19851c58750..6c169ec9bc2aaa7b18cd552ceb28f097838974cc 100644 |
--- a/Source/WebCore/editing/htmlediting.cpp |
+++ b/Source/WebCore/editing/htmlediting.cpp |
@@ -965,16 +965,6 @@ bool isNodeRendered(const Node *node) |
return renderer->style()->visibility() == VISIBLE; |
} |
-unsigned numEnclosingMailBlockquotes(const Position& p) |
-{ |
- unsigned num = 0; |
- for (Node* n = p.deprecatedNode(); n; n = n->parentNode()) |
- if (isMailBlockquote(n)) |
- num++; |
- |
- return num; |
-} |
- |
void updatePositionForNodeRemoval(Position& position, Node* node) |
{ |
if (position.isNull()) |
@@ -1005,14 +995,6 @@ void updatePositionForNodeRemoval(Position& position, Node* node) |
} |
} |
-bool isMailBlockquote(const Node *node) |
-{ |
- if (!node || !node->hasTagName(blockquoteTag)) |
- return false; |
- |
- return static_cast<const Element *>(node)->getAttribute("type") == "cite"; |
-} |
- |
int caretMinOffset(const Node* n) |
{ |
RenderObject* r = n->renderer(); |