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; |