Index: Source/web/WebRange.cpp |
diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp |
index 51457b03487f8b71d618c74452c15a182511c7cc..17e6eedd809c01bc8c58d35a7bcec998cf33af1f 100644 |
--- a/Source/web/WebRange.cpp |
+++ b/Source/web/WebRange.cpp |
@@ -69,39 +69,11 @@ int WebRange::endOffset() const |
return m_private->endOffset(); |
} |
-WebNode WebRange::startContainer(WebExceptionCode& exceptionCode) const |
-{ |
- // FIXME: Create a wrapper class that just sets the internal int. |
- RefPtrWillBeRawPtr<Node> node(m_private->startContainer()); |
- exceptionCode = 0; |
- return node.release(); |
-} |
- |
-WebNode WebRange::endContainer(WebExceptionCode& exceptionCode) const |
-{ |
- // FIXME: Create a wrapper class that just sets the internal int. |
- RefPtrWillBeRawPtr<Node> node(m_private->endContainer()); |
- exceptionCode = 0; |
- return node.release(); |
-} |
- |
-WebString WebRange::toHTMLText() const |
-{ |
- return m_private->toHTML(); |
-} |
- |
WebString WebRange::toPlainText() const |
{ |
return m_private->text(); |
} |
-WebRange WebRange::expandedToParagraph() const |
-{ |
- WebRange copy(*this); |
- copy.m_private->expand("block", IGNORE_EXCEPTION); |
- return copy; |
-} |
- |
// static |
WebRange WebRange::fromDocumentRange(WebLocalFrame* frame, int start, int length) |
{ |