Chromium Code Reviews

Unified Diff: Source/web/WebSelectElement.cpp

Issue 19488002: Introduce toHTMLSelectElement and remove isHTMLSelectElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Took Tamura's comment into consideration Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/web/WebSearchableFormData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/web/WebSearchableFormData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine