| Index: trunk/Source/core/dom/Text.cpp
|
| ===================================================================
|
| --- trunk/Source/core/dom/Text.cpp (revision 190671)
|
| +++ trunk/Source/core/dom/Text.cpp (working copy)
|
| @@ -315,12 +315,12 @@
|
| return parentOrShadowHostNode->isSVGElement() && !isSVGForeignObjectElement(*parentOrShadowHostNode);
|
| }
|
|
|
| -RenderText* Text::createTextRenderer(const LayoutStyle& style)
|
| +RenderText* Text::createTextRenderer(LayoutStyle* style)
|
| {
|
| if (isSVGText(this))
|
| return new LayoutSVGInlineText(this, dataImpl());
|
|
|
| - if (style.hasTextCombine())
|
| + if (style->hasTextCombine())
|
| return new RenderCombineText(this, dataImpl());
|
|
|
| return new RenderText(this, dataImpl());
|
| @@ -383,7 +383,7 @@
|
| bool Text::needsWhitespaceRenderer()
|
| {
|
| ASSERT(!renderer());
|
| - if (const LayoutStyle* style = parentLayoutStyle())
|
| + if (LayoutStyle* style = parentLayoutStyle())
|
| return style->preserveNewline();
|
| return false;
|
| }
|
|
|