Web Inspector: detailed heap snapshot: Replace (Native objects) root element
[WebKit-https.git] / Source / WebCore / bindings / v8 / RetainedDOMInfo.cpp
index ba642637a18cc409e23e96b3ab2538989253f049..9edda78f4e1d6b059bac61acc462afeb81eb7ea8 100644 (file)
@@ -61,6 +61,11 @@ intptr_t RetainedDOMInfo::GetHash()
     return reinterpret_cast<intptr_t>(m_root);
 }
     
+const char* RetainedDOMInfo::GetGroupLabel()
+{
+    return m_root->inDocument() ? "(Document DOM trees)" : "(Detached DOM trees)";
+}
+
 const char* RetainedDOMInfo::GetLabel()
 {
     return m_root->inDocument() ? "Document DOM tree" : "Detached DOM tree";