Home
last modified time | relevance | path

Searched refs:hasOneChild (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNode.h87 bool hasOneChild() const { return m_firstChild && !m_firstChild->nextSibling(); } in hasOneChild() function
88 bool hasOneTextChild() const { return hasOneChild() && m_firstChild->isTextNode(); } in hasOneTextChild()
/external/chromium_org/third_party/WebKit/Source/core/editing/
Dmarkup.cpp1045 if (containerNode->hasOneChild()) { in replaceChildrenWithFragment()
1068 if (containerNode->hasOneChild()) { in replaceChildrenWithText()