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

Unified Diff: third_party/WebKit/Source/core/dom/Text.cpp

Issue 2164493002: Renamed Node::attach to Node::attachLayoutTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/Source/core/dom/Text.cpp
diff --git a/third_party/WebKit/Source/core/dom/Text.cpp b/third_party/WebKit/Source/core/dom/Text.cpp
index 9d60fabf9d02825422fe45a600f262678211d94b..646fd927adb5af30cd9a31a27f3e17b00c7c779b 100644
--- a/third_party/WebKit/Source/core/dom/Text.cpp
+++ b/third_party/WebKit/Source/core/dom/Text.cpp
@@ -343,7 +343,7 @@ LayoutText* Text::createTextLayoutObject(const ComputedStyle& style)
return new LayoutText(this, dataImpl());
}
-void Text::attach(const AttachContext& context)
+void Text::attachLayoutTree(const AttachContext& context)
{
if (ContainerNode* layoutParent = LayoutTreeBuilderTraversal::parent(*this)) {
if (LayoutObject* parentLayoutObject = layoutParent->layoutObject()) {
@@ -351,7 +351,7 @@ void Text::attach(const AttachContext& context)
LayoutTreeBuilderForText(*this, parentLayoutObject).createLayoutObject();
}
}
- CharacterData::attach(context);
+ CharacterData::attachLayoutTree(context);
}
void Text::reattachIfNeeded(const AttachContext& context)
@@ -377,7 +377,7 @@ void Text::reattachIfNeeded(const AttachContext& context)
detach(reattachContext);
if (layoutObjectIsNeeded)
LayoutTreeBuilderForText(*this, layoutParent->layoutObject()).createLayoutObject();
- CharacterData::attach(reattachContext);
+ CharacterData::attachLayoutTree(reattachContext);
}
void Text::recalcTextStyle(StyleRecalcChange change, Text* nextTextSibling)

Powered by Google App Engine
This is Rietveld 408576698