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

Unified Diff: Source/core/html/HTMLKeygenElement.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 | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLLegendElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLKeygenElement.cpp
diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp
index abc62c9778b7742e7a0e93699deb76ed8bbeccbf..30a8debe29c0b9c5f3ae5db4b100ac90c481fa32 100644
--- a/Source/core/html/HTMLKeygenElement.cpp
+++ b/Source/core/html/HTMLKeygenElement.cpp
@@ -118,7 +118,7 @@ const AtomicString& HTMLKeygenElement::formControlType() const
void HTMLKeygenElement::reset()
{
- static_cast<HTMLFormControlElement*>(shadowSelect())->reset();
+ shadowSelect()->reset();
}
bool HTMLKeygenElement::shouldSaveAndRestoreFormControlState() const
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLLegendElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698