| Index: Source/WebCore/dom/XMLDocumentParser.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/XMLDocumentParser.cpp (revision 87758)
|
| +++ Source/WebCore/dom/XMLDocumentParser.cpp (working copy)
|
| @@ -294,7 +294,7 @@
|
| // Create elements for display
|
| ExceptionCode ec = 0;
|
| Document* document = this->document();
|
| - Element* documentElement = document->documentElement();
|
| + RefPtr<Element> documentElement = document->documentElement();
|
| if (!documentElement) {
|
| RefPtr<Element> rootElement = document->createElement(htmlTag, false);
|
| document->appendChild(rootElement, ec);
|
|
|