Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2413)

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« 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
This is Rietveld 408576698