Index: Source/core/html/HTMLKeygenElement.cpp |
diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp |
index abc62c9778b7742e7a0e93699deb76ed8bbeccbf..30a8debe29c0b9c5f3ae5db4b100ac90c481fa32 100644 |
--- a/Source/core/html/HTMLKeygenElement.cpp |
+++ b/Source/core/html/HTMLKeygenElement.cpp |
@@ -118,7 +118,7 @@ const AtomicString& HTMLKeygenElement::formControlType() const |
void HTMLKeygenElement::reset() |
{ |
- static_cast<HTMLFormControlElement*>(shadowSelect())->reset(); |
+ shadowSelect()->reset(); |
} |
bool HTMLKeygenElement::shouldSaveAndRestoreFormControlState() const |