Index: Source/core/html/forms/TextFieldInputType.cpp |
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp |
index c89f07c1794e1c96012316b6300b4093c37b8bad..22b6e1385719922354961482252a0759f871c986 100644 |
--- a/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/Source/core/html/forms/TextFieldInputType.cpp |
@@ -284,7 +284,7 @@ void TextFieldInputType::createShadowSubtree() |
{ |
ASSERT(element().shadow()); |
ShadowRoot* shadowRoot = element().userAgentShadowRoot(); |
- ASSERT(!shadowRoot->hasChildNodes()); |
+ ASSERT(!shadowRoot->hasChildren()); |
Document& document = element().document(); |
bool shouldHaveSpinButton = this->shouldHaveSpinButton(); |