| Index: third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
|
| index 2a4f851c02043d182b2d245b2d9349af514a1a9c..afb5e8c6bfc0fe32e38d2d027e79fc3adf223797 100644
|
| --- a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
|
| @@ -309,11 +309,6 @@ DOMPatchSupport::Diff(const HeapVector<Member<Digest>>& old_list,
|
| }
|
| }
|
|
|
| -#ifdef DEBUG_DOM_PATCH_SUPPORT
|
| - dumpMap(oldMap, "OLD");
|
| - dumpMap(newMap, "NEW");
|
| -#endif
|
| -
|
| return std::make_pair(old_map, new_map);
|
| }
|
|
|
| @@ -552,22 +547,6 @@ void DOMPatchSupport::MarkNodeAsUsed(Digest* digest) {
|
| }
|
| }
|
|
|
| -#ifdef DEBUG_DOM_PATCH_SUPPORT
|
| -static String nodeName(Node* node) {
|
| - if (node->document().isXHTMLDocument())
|
| - return node->nodeName();
|
| - return node->nodeName().lower();
|
| -}
|
| -
|
| -void DOMPatchSupport::dumpMap(const ResultMap& map, const String& name) {
|
| - fprintf(stderr, "\n\n");
|
| - for (size_t i = 0; i < map.size(); ++i)
|
| - fprintf(stderr, "%s[%lu]: %s (%p) - [%lu]\n", name.utf8().data(), i,
|
| - map[i].first ? nodeName(map[i].first->m_node).utf8().data() : "",
|
| - map[i].first, map[i].second);
|
| -}
|
| -#endif
|
| -
|
| DEFINE_TRACE(DOMPatchSupport::Digest) {
|
| visitor->Trace(node_);
|
| visitor->Trace(children_);
|
|
|