| Index: Source/WebCore/rendering/RenderObject.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderObject.cpp (revision 112901)
|
| +++ Source/WebCore/rendering/RenderObject.cpp (working copy)
|
| @@ -329,11 +329,8 @@
|
| children->insertChildNode(this, newChild, beforeChild);
|
| }
|
|
|
| - if (newChild->isText() && newChild->style()->textTransform() == CAPITALIZE) {
|
| - RefPtr<StringImpl> textToTransform = toRenderText(newChild)->originalText();
|
| - if (textToTransform)
|
| - toRenderText(newChild)->setText(textToTransform.release(), true);
|
| - }
|
| + if (newChild->isText() && newChild->style()->textTransform() == CAPITALIZE)
|
| + toRenderText(newChild)->transformText();
|
|
|
| if (beforeChildHasBeforeAndAfterContent)
|
| children->updateBeforeAfterContent(this, BEFORE);
|
|
|