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

Unified Diff: Source/core/html/forms/HiddenInputType.h

Issue 679273004: Set element value to its default value on reset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added isReset as a parameter to not allow setValue change value of m_textAsOfLastFormControlChangeE… Created 6 years, 1 month 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: Source/core/html/forms/HiddenInputType.h
diff --git a/Source/core/html/forms/HiddenInputType.h b/Source/core/html/forms/HiddenInputType.h
index b224e706bea32c3eda3a2c0d40079c87a61dd397..b60b5bcd5d8b60a6b98029eea664135051c9d5f8 100644
--- a/Source/core/html/forms/HiddenInputType.h
+++ b/Source/core/html/forms/HiddenInputType.h
@@ -51,7 +51,7 @@ private:
virtual bool storesValueSeparateFromAttribute() override;
virtual bool isInteractiveContent() const override { return false; }
virtual bool shouldRespectHeightAndWidthAttributes() override;
- virtual void setValue(const String&, bool, TextFieldEventBehavior) override;
+ virtual void setValue(const String&, bool, bool, TextFieldEventBehavior) override;
virtual bool appendFormData(FormDataList&, bool) const override;
};

Powered by Google App Engine
This is Rietveld 408576698