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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 2879063003: INPUT element: Stop saving/restoring values of input[type=hidden]. (Closed)
Patch Set: Created 3 years, 7 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
Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index 07ff516abc5fcad9e43f6428bd90c12195e6654a..1165419271c1f0eada9ad19700a394a6cb7e6e9a 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -107,7 +107,6 @@ HTMLInputElement::HTMLInputElement(Document& document, bool created_by_parser)
has_non_empty_list_(false),
state_restored_(false),
parsing_in_progress_(created_by_parser),
- value_attribute_was_updated_after_parsing_(false),
can_receive_dropped_files_(false),
should_reveal_password_(false),
needs_to_update_view_value_(true),
@@ -722,7 +721,6 @@ void HTMLInputElement::ParseAttribute(
}
needs_to_update_view_value_ = true;
SetNeedsValidityCheck();
- value_attribute_was_updated_after_parsing_ = !parsing_in_progress_;
input_type_->WarnIfValueIsInvalidAndElementIsVisible(value);
input_type_->InRangeChanged();
input_type_view_->ValueAttributeChanged();
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.h ('k') | third_party/WebKit/Source/core/html/forms/HiddenInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698