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

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

Issue 699213003: RenderTreeBuilder => RenderTreeBuilderForElement and RenderTreeBuilderForText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/dom/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index 2426009c6edb92702b679096b4140bc7abb6aa20..ad796131d66ab9fb16c928cb0bfd4b6c74a6595b 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -304,7 +304,7 @@ RenderText* Text::createTextRenderer(RenderStyle* style)
void Text::attach(const AttachContext& context)
{
- RenderTreeBuilder(this, context.resolvedStyle).createRendererForTextIfNeeded();
+ RenderTreeBuilderForText(this).createRendererIfNeeded();
CharacterData::attach(context);
}
« Source/core/dom/RenderTreeBuilder.h ('K') | « Source/core/dom/RenderTreeBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698