Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 20ee2edf2273cb5b7fb53b7b724313f73a2807f8..af7437547dfa4e193db52d108c5ed41113c0684f 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1462,17 +1462,6 @@ PassRefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned whatT |
return NodeIterator::create(root, whatToShow, filter); |
} |
-PassRefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned whatToShow, PassRefPtr<NodeFilter> filter, bool expandEntityReferences, ExceptionState& exceptionState) |
-{ |
- if (!root) { |
- exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError); |
- return 0; |
- } |
- // FIXME: Warn if |expandEntityReferences| is specified. This optional argument is deprecated in DOM4. |
- UNUSED_PARAM(expandEntityReferences); |
- return NodeIterator::create(root, whatToShow, filter); |
-} |
- |
PassRefPtr<TreeWalker> Document::createTreeWalker(Node* root, ExceptionState& exceptionState) |
{ |
if (!root) { |
@@ -1500,16 +1489,6 @@ PassRefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned whatToSho |
return TreeWalker::create(root, whatToShow, filter); |
} |
-PassRefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned whatToShow, PassRefPtr<NodeFilter> filter, bool expandEntityReferences, ExceptionState& exceptionState) |
-{ |
- UNUSED_PARAM(expandEntityReferences); |
- if (!root) { |
- exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError); |
- return 0; |
- } |
- return TreeWalker::create(root, whatToShow, filter); |
-} |
- |
void Document::scheduleStyleRecalc() |
{ |
if (shouldDisplaySeamlesslyWithParent()) { |