Node::compareDocumentPosition leaks memory structure
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Mar 2014 18:48:16 +0000 (18:48 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Mar 2014 18:48:16 +0000 (18:48 +0000)
commit573f69f597d1cef42e549a73fdbf68e6cd63907c
tree9186b646d5567072171409745ee522c0d30aad0f
parent562d3faa966f918535a4d2faadf195f922b8fe63
Node::compareDocumentPosition leaks memory structure
https://bugs.webkit.org/show_bug.cgi?id=120244

Reviewed by Ryosuke Niwa.

Source/WebCore:

* dom/Node.cpp: (WebCore::Node::compareDocumentPosition): Don't do it.

LayoutTests:

* TestExpectations:
* dom/xhtml/level3/core/nodecomparedocumentposition38-expected.txt:
* fast/dom/compare-document-position-disconnected-nodes-expected.txt:
* fast/dom/compare-document-position-disconnected-nodes.html:
* fast/dom/shadow/compare-document-position-expected.txt:
* fast/dom/shadow/compare-document-position.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition38-expected.txt
LayoutTests/fast/dom/compare-document-position-disconnected-nodes-expected.txt
LayoutTests/fast/dom/compare-document-position-disconnected-nodes.html
LayoutTests/fast/dom/shadow/compare-document-position-expected.txt
LayoutTests/fast/dom/shadow/compare-document-position.html
Source/WebCore/ChangeLog
Source/WebCore/dom/Node.cpp