Index: Source/core/html/HTMLButtonElement.h |
diff --git a/Source/core/html/HTMLButtonElement.h b/Source/core/html/HTMLButtonElement.h |
index 896ced4565db96df7e72e40f53dd645f8f19621e..986e2dc841e69a547c6e7d352a438b8336e288bc 100644 |
--- a/Source/core/html/HTMLButtonElement.h |
+++ b/Source/core/html/HTMLButtonElement.h |
@@ -49,7 +49,7 @@ private: |
virtual LayoutObject* createRenderer(const LayoutStyle&) override; |
// HTMLFormControlElement always creates one, but buttons don't need it. |
- virtual bool alwaysCreateUserAgentShadowRoot() const override { return false; } |
+ virtual bool alwaysCreateClosedShadowRoot() const override { return false; } |
virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; |
virtual void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) override; |