| Index: Source/core/xml/parser/XMLErrors.cpp
|
| diff --git a/Source/core/xml/parser/XMLErrors.cpp b/Source/core/xml/parser/XMLErrors.cpp
|
| index dc78a9c802a435827ffe270da8061a8ce2f960e6..97476e74dada5f88f964728d058fb64d6013b4c3 100644
|
| --- a/Source/core/xml/parser/XMLErrors.cpp
|
| +++ b/Source/core/xml/parser/XMLErrors.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "config.h"
|
| #include "core/xml/parser/XMLErrors.h"
|
|
|
| +#include "bindings/core/v8/V8Document.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/SVGNames.h"
|
| #include "core/dom/Document.h"
|
| @@ -151,7 +152,9 @@ void XMLErrors::insertErrorMessageBlock()
|
| String errorMessages = m_errorMessages.toString();
|
| RefPtrWillBeRawPtr<Element> reportElement = createXHTMLParserErrorHeader(m_document, errorMessages);
|
|
|
| - if (m_document->transformSourceDocument()) {
|
| + bool xsltTransformed = false;
|
| + V8Document::PrivateScript::xsltTransformedMethod(m_document->frame(), m_document, &xsltTransformed);
|
| + if (xsltTransformed) {
|
| Vector<Attribute> attributes;
|
| attributes.append(Attribute(styleAttr, "white-space: normal"));
|
| RefPtrWillBeRawPtr<Element> paragraph = m_document->createElement(pTag, true);
|
|
|