| 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..e8b6ddc239bbefaecc477a3cc5758e7936ee75a2 100644
|
| --- a/Source/core/xml/parser/XMLErrors.cpp
|
| +++ b/Source/core/xml/parser/XMLErrors.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Element.h"
|
| #include "core/dom/Text.h"
|
| +#include "core/xml/DocumentXSLT.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
| @@ -151,7 +152,7 @@ void XMLErrors::insertErrorMessageBlock()
|
| String errorMessages = m_errorMessages.toString();
|
| RefPtrWillBeRawPtr<Element> reportElement = createXHTMLParserErrorHeader(m_document, errorMessages);
|
|
|
| - if (m_document->transformSourceDocument()) {
|
| + if (DocumentXSLT::hasTransformSourceDocument(*m_document)) {
|
| Vector<Attribute> attributes;
|
| attributes.append(Attribute(styleAttr, "white-space: normal"));
|
| RefPtrWillBeRawPtr<Element> paragraph = m_document->createElement(pTag, true);
|
|
|