Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Unified Diff: Source/core/html/HTMLViewSourceDocument.cpp

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698