Index: third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
index d62d3e45a523ee365d1da7eee02c88f4cff28cc6..a9353af77d91f01d4fd82b4fd2e0237a229a54ee 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp |
@@ -70,7 +70,7 @@ void LayoutMenuList::createInnerBlock() { |
ASSERT(!firstChild()); |
m_innerBlock = createAnonymousBlock(); |
- m_buttonText = new LayoutText(&document(), StringImpl::empty); |
+ m_buttonText = LayoutText::createEmptyAnonymous(document()); |
// We need to set the text explicitly though it was specified in the |
// constructor because LayoutText doesn't refer to the text |
// specified in the constructor in a case of re-transforming. |