Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index 527539eea1217f3f2f7da962a71a48731aeecef0..812d4a447090b56997276d374bf386d1fd0697dd 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -381,7 +381,7 @@ PassRefPtrWillBeRawPtr<HTMLCollection> HTMLSelectElement::selectedOptions() |
PassRefPtrWillBeRawPtr<HTMLOptionsCollection> HTMLSelectElement::options() |
{ |
- return static_cast<HTMLOptionsCollection*>(ensureCachedHTMLCollection(SelectOptions).get()); |
+ return toHTMLOptionsCollection(ensureCachedHTMLCollection(SelectOptions).get()); |
} |
void HTMLSelectElement::updateListItemSelectedStates() |