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

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

Issue 2906883002: Setting Proper values to HTMLOptionElement DirtyFlag (Closed)
Patch Set: Remove expected 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
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/resetting-a-form/reset-form-2-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
index e28f864e91500a3708e770445b4de74d6db49d60..6f0ec4f152b67d7b6681511f42ff8cefb687ecfa 100644
--- a/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.cpp
@@ -284,7 +284,7 @@ void HTMLOptionElement::SetSelectedState(bool selected) {
}
void HTMLOptionElement::SetDirty(bool value) {
- is_dirty_ = true;
+ is_dirty_ = value;
}
void HTMLOptionElement::ChildrenChanged(const ChildrenChange& change) {
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/resetting-a-form/reset-form-2-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698