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

Unified Diff: Source/WebCore/html/FileInputType.cpp

Issue 9805002: Revert 105710 - Introduce RadioButtonGroup class to keep track of the group members and required st… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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/WebCore/html/CheckboxInputType.cpp ('k') | Source/WebCore/html/HTMLFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/FileInputType.cpp
===================================================================
--- Source/WebCore/html/FileInputType.cpp (revision 111481)
+++ Source/WebCore/html/FileInputType.cpp (working copy)
@@ -129,7 +129,7 @@
bool FileInputType::valueMissing(const String& value) const
{
- return element()->required() && value.isEmpty();
+ return value.isEmpty();
}
String FileInputType::valueMissingText() const
« no previous file with comments | « Source/WebCore/html/CheckboxInputType.cpp ('k') | Source/WebCore/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698