| Index: Source/core/rendering/RenderMenuList.cpp
|
| diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp
|
| index 143313868feaa95e66bc2e375bf619daf463e1c0..c9472922826447b3b8b558fb7c3d04f602551148 100644
|
| --- a/Source/core/rendering/RenderMenuList.cpp
|
| +++ b/Source/core/rendering/RenderMenuList.cpp
|
| @@ -289,10 +289,10 @@ void RenderMenuList::setText(const String& s)
|
| DeprecatedDisableModifyRenderTreeStructureAsserts disabler;
|
| if (m_buttonText)
|
| m_buttonText->destroy();
|
| - m_buttonText = new RenderText(&document(), s.impl());
|
| + m_buttonText = new LayoutText(&document(), s.impl());
|
| m_buttonText->setStyle(style());
|
| // We need to set the text explicitly though it was specified in the
|
| - // constructor because RenderText doesn't refer to the text
|
| + // constructor because LayoutText doesn't refer to the text
|
| // specified in the constructor in a case of re-transforming.
|
| m_buttonText->setText(s.impl(), true);
|
| addChild(m_buttonText);
|
|
|