summaryrefslogtreecommitdiff
path: root/tools/aapt2/compile/XmlIdCollector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/compile/XmlIdCollector.cpp')
-rw-r--r--tools/aapt2/compile/XmlIdCollector.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/aapt2/compile/XmlIdCollector.cpp b/tools/aapt2/compile/XmlIdCollector.cpp
index dfdf710967f9..f40689eaeb47 100644
--- a/tools/aapt2/compile/XmlIdCollector.cpp
+++ b/tools/aapt2/compile/XmlIdCollector.cpp
@@ -16,9 +16,8 @@
#include "ResourceUtils.h"
#include "ResourceValues.h"
-#include "XmlDom.h"
-
#include "compile/XmlIdCollector.h"
+#include "xml/XmlDom.h"
#include <algorithm>
#include <vector>
@@ -61,7 +60,7 @@ struct IdCollector : public xml::Visitor {
} // namespace
-bool XmlIdCollector::consume(IAaptContext* context, XmlResource* xmlRes) {
+bool XmlIdCollector::consume(IAaptContext* context, xml::XmlResource* xmlRes) {
xmlRes->file.exportedSymbols.clear();
IdCollector collector(&xmlRes->file.exportedSymbols);
xmlRes->root->accept(&collector);