Index: Source/core/layout/LayoutMenuList.cpp |
diff --git a/Source/core/layout/LayoutMenuList.cpp b/Source/core/layout/LayoutMenuList.cpp |
index 449c6bce9d36a0ef959bde30370794fe16d3d1ef..50b8d5a7d8984bb911cc70ff9aae14be58de3c0c 100644 |
--- a/Source/core/layout/LayoutMenuList.cpp |
+++ b/Source/core/layout/LayoutMenuList.cpp |
@@ -290,7 +290,7 @@ void LayoutMenuList::setText(const String& s) |
if (!m_buttonText || !m_buttonText->isBR()) { |
// FIXME: We should not modify the structure of the render tree |
// during layout. crbug.com/370462 |
- DeprecatedDisableModifyRenderTreeStructureAsserts disabler; |
+ DeprecatedDisableModifyLayoutTreeStructureAsserts disabler; |
if (m_buttonText) |
m_buttonText->destroy(); |
m_buttonText = new LayoutBR(&document()); |
@@ -303,7 +303,7 @@ void LayoutMenuList::setText(const String& s) |
} else { |
// FIXME: We should not modify the structure of the render tree |
// during layout. crbug.com/370462 |
- DeprecatedDisableModifyRenderTreeStructureAsserts disabler; |
+ DeprecatedDisableModifyLayoutTreeStructureAsserts disabler; |
if (m_buttonText) |
m_buttonText->destroy(); |
m_buttonText = new LayoutText(&document(), s.impl()); |