| Index: Source/core/xml/parser/XMLDocumentParser.cpp
|
| diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp
|
| index e5cc2bde9aef458ae1ef42d94cbfcd5bab8f4499..e06c6998513dd3b5ecbc799b41adb80f3fd2f28f 100644
|
| --- a/Source/core/xml/parser/XMLDocumentParser.cpp
|
| +++ b/Source/core/xml/parser/XMLDocumentParser.cpp
|
| @@ -1486,7 +1486,7 @@ void XMLDocumentParser::doEnd()
|
| xmlDocPtr doc = xmlDocPtrForString(document()->fetcher(), m_originalSourceForTransform.toString(), document()->url().string());
|
| document()->setTransformSource(adoptPtr(new TransformSource(doc)));
|
| // Make the document think it's done, so it will apply XSL stylesheets.
|
| - document()->setParsing(false);
|
| + document()->setParsingState(Document::FinishedParsing);
|
| document()->styleResolverChanged();
|
|
|
| // styleResolverChanged() call can detach the parser and null out its
|
| @@ -1494,7 +1494,7 @@ void XMLDocumentParser::doEnd()
|
| if (isDetached())
|
| return;
|
|
|
| - document()->setParsing(true);
|
| + document()->setParsingState(Document::Parsing);
|
| DocumentParser::stopParsing();
|
| }
|
| }
|
|
|