Index: third_party/libxml/chromium/libxml_utils.cc |
diff --git a/third_party/libxml/chromium/libxml_utils.cc b/third_party/libxml/chromium/libxml_utils.cc |
index 63cbb6b7d962d8140622ef17988fbbdab0defe9a..a237be59a03d44e3c36dfdc162f606d06239aab4 100644 |
--- a/third_party/libxml/chromium/libxml_utils.cc |
+++ b/third_party/libxml/chromium/libxml_utils.cc |
@@ -48,6 +48,10 @@ bool XmlReader::NodeAttribute(const char* name, std::string* out) { |
return true; |
} |
+bool XmlReader::IsClosingElement() { |
+ return NodeType() == XML_READER_TYPE_END_ELEMENT; |
+} |
+ |
bool XmlReader::ReadElementContent(std::string* content) { |
const int start_depth = Depth(); |