Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: third_party/libxml/chromium/libxml_utils.cc

Issue 23132002: GTTF: Add a basic new unit test launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed gyp cycle Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxml/chromium/libxml_utils.h ('k') | third_party/zlib/google/zip.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « third_party/libxml/chromium/libxml_utils.h ('k') | third_party/zlib/google/zip.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698