Index: third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp |
diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp |
index e071a1a61e101e3e76cb7bb891762f12558d260c..ecb5d7bca0f8caa79ad4686c9f0d1d2fc846845f 100644 |
--- a/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp |
+++ b/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp |
@@ -22,6 +22,7 @@ |
#include "core/xml/XSLTProcessor.h" |
+#include "bindings/core/v8/SourceLocation.h" |
#include "core/dom/Document.h" |
#include "core/dom/TransformSource.h" |
#include "core/editing/serializers/Serialization.h" |
@@ -80,7 +81,7 @@ void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error) |
break; |
} |
- console->addMessage(ConsoleMessage::create(XMLMessageSource, level, error->message, error->file, error->line, 0)); |
+ console->addMessage(ConsoleMessage::create(XMLMessageSource, level, error->message, SourceLocation::create(error->file, error->line, 0, nullptr))); |
} |
// FIXME: There seems to be no way to control the ctxt pointer for loading here, thus we have globals. |