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

Unified Diff: Source/core/xml/parser/XMLDocumentParserLibxml2.cpp

Issue 14386007: Remove some orphaned USE macros. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change updated after James' suggestion Created 7 years, 8 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 | « Source/core/xml/parser/XMLDocumentParser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/parser/XMLDocumentParserLibxml2.cpp
diff --git a/Source/core/xml/parser/XMLDocumentParserLibxml2.cpp b/Source/core/xml/parser/XMLDocumentParserLibxml2.cpp
index b70143f70d6c51541b0feacf5876a917fcee8cb1..0c37c9dab7ef6a967443562454e1fc849250df9d 100644
--- a/Source/core/xml/parser/XMLDocumentParserLibxml2.cpp
+++ b/Source/core/xml/parser/XMLDocumentParserLibxml2.cpp
@@ -1357,7 +1357,7 @@ void XMLDocumentParser::doEnd()
xmlTreeViewer.transformDocumentToTreeView();
if (m_sawXSLTransform) {
- void* doc = xmlDocPtrForString(document()->cachedResourceLoader(), m_originalSourceForTransform.toString(), document()->url().string());
+ xmlDocPtr doc = xmlDocPtrForString(document()->cachedResourceLoader(), m_originalSourceForTransform.toString(), document()->url().string());
document()->setTransformSource(adoptPtr(new TransformSource(doc)));
document()->setParsing(false); // Make the document think it's done, so it will apply XSL stylesheets.
@@ -1373,7 +1373,7 @@ void XMLDocumentParser::doEnd()
}
}
-void* xmlDocPtrForString(CachedResourceLoader* cachedResourceLoader, const String& source, const String& url)
+xmlDocPtr xmlDocPtrForString(CachedResourceLoader* cachedResourceLoader, const String& source, const String& url)
{
if (source.isEmpty())
return 0;
« no previous file with comments | « Source/core/xml/parser/XMLDocumentParser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698