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

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

Issue 21182003: Remove NonSelectableText subclass of Text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use createTextRenderer and RenderTextFragment Created 7 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
« no previous file with comments | « no previous file | Source/core/dom/Text.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeRenderingContext.cpp
diff --git a/Source/core/dom/NodeRenderingContext.cpp b/Source/core/dom/NodeRenderingContext.cpp
index c469b1b62c0c00e7adf33c43c420abff7f623cf7..792f603a4b8f0aca3a27ab3fbe808dc76f1a6c8c 100644
--- a/Source/core/dom/NodeRenderingContext.cpp
+++ b/Source/core/dom/NodeRenderingContext.cpp
@@ -272,7 +272,7 @@ void NodeRenderingContext::createRendererForTextIfNeeded()
if (!textNode->textRendererIsNeeded(*this))
return;
- RenderText* newRenderer = textNode->createTextRenderer(m_style.get());
+ RenderText* newRenderer = textNode->createTextRenderer(m_renderingParent, m_style.get());
if (!parentRenderer->isChildAllowed(newRenderer, m_style.get())) {
newRenderer->destroy();
return;
« no previous file with comments | « no previous file | Source/core/dom/Text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698