| Index: Source/core/html/HTMLViewSourceDocument.cpp
|
| diff --git a/Source/core/html/HTMLViewSourceDocument.cpp b/Source/core/html/HTMLViewSourceDocument.cpp
|
| index e5dd879b1baefd33656dffcaa13418ce4674b011..e1060637a660544dc15c51afd6d3b83019a7c866 100644
|
| --- a/Source/core/html/HTMLViewSourceDocument.cpp
|
| +++ b/Source/core/html/HTMLViewSourceDocument.cpp
|
| @@ -65,7 +65,7 @@ void HTMLViewSourceDocument::createContainingTable()
|
| {
|
| RefPtr<HTMLHtmlElement> html = HTMLHtmlElement::create(*this);
|
| parserAppendChild(html);
|
| - html->lazyAttach();
|
| + html->scheduleRenderTreeCreation();
|
| RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(*this);
|
| html->parserAppendChild(body);
|
|
|
| @@ -200,7 +200,7 @@ void HTMLViewSourceDocument::addLine(const AtomicString& className)
|
| #ifdef DEBUG_LINE_NUMBERS
|
| RefPtr<Text> lineNumberText = Text::create(*this, String::number(parser()->lineNumber() + 1) + " ");
|
| td->addChild(lineNumberText);
|
| - lineNumberText->lazyAttach();
|
| + lineNumberText->scheduleRenderTreeCreation();
|
| #endif
|
|
|
| // Open up the needed spans.
|
|
|