Index: Source/web/WebSelectElement.cpp |
diff --git a/Source/web/WebSelectElement.cpp b/Source/web/WebSelectElement.cpp |
index 3a930389f8c1f86bb72f9fabb493ae6430305be6..405aab90de4f45b8020df6c7e3e5892bc35bbb04 100644 |
--- a/Source/web/WebSelectElement.cpp |
+++ b/Source/web/WebSelectElement.cpp |
@@ -74,7 +74,7 @@ WebSelectElement& WebSelectElement::operator=(const PassRefPtr<HTMLSelectElement |
WebSelectElement::operator PassRefPtr<HTMLSelectElement>() const |
{ |
- return static_cast<HTMLSelectElement*>(m_private.get()); |
+ return toHTMLSelectElement(m_private.get()); |
} |
} // namespace WebKit |