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

Unified Diff: Source/WebKit/chromium/src/WebFormControlElement.cpp

Issue 17381010: Introduce toHTMLFormControlElement, and use it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 | « no previous file | Source/WebKit/chromium/src/WebFormElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebFormControlElement.cpp
diff --git a/Source/WebKit/chromium/src/WebFormControlElement.cpp b/Source/WebKit/chromium/src/WebFormControlElement.cpp
index 595c2ae19254ac178aa65283743c5b22291fc27a..787a3db3a0ca9d6259df8e6d5975735557507b25 100644
--- a/Source/WebKit/chromium/src/WebFormControlElement.cpp
+++ b/Source/WebKit/chromium/src/WebFormControlElement.cpp
@@ -95,7 +95,7 @@ WebFormControlElement& WebFormControlElement::operator=(const PassRefPtr<HTMLFor
WebFormControlElement::operator PassRefPtr<HTMLFormControlElement>() const
{
- return static_cast<HTMLFormControlElement*>(m_private.get());
+ return toHTMLFormControlElement(m_private.get());
}
} // namespace WebKit
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698