Index: Source/core/html/forms/InputTypeView.cpp |
diff --git a/Source/core/html/forms/InputTypeView.cpp b/Source/core/html/forms/InputTypeView.cpp |
index 696d9a2f00992a0d8b00f68993700c24b550ff94..c9b1f8138d7d0ebcff0ad38f83845365400058c7 100644 |
--- a/Source/core/html/forms/InputTypeView.cpp |
+++ b/Source/core/html/forms/InputTypeView.cpp |
@@ -143,7 +143,7 @@ void InputTypeView::createShadowSubtree() |
void InputTypeView::destroyShadowSubtree() |
{ |
- if (ShadowRoot* root = element().userAgentShadowRoot()) |
+ if (ShadowRoot* root = element().closedShadowRoot()) |
root->removeChildren(); |
} |