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

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

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/forms/HiddenInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/HiddenInputType.h b/third_party/WebKit/Source/core/html/forms/HiddenInputType.h
index cf578621c63aa0346b7a8044fe72463ad9da46b9..6b75cfea584532c9b441def8ae9293b4f36dfaf2 100644
--- a/third_party/WebKit/Source/core/html/forms/HiddenInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/HiddenInputType.h
@@ -49,8 +49,7 @@ class HiddenInputType final : public InputType, private InputTypeView {
: InputType(element), InputTypeView(element) {}
InputTypeView* CreateView() override;
const AtomicString& FormControlType() const override;
- FormControlState SaveFormControlState() const override;
- void RestoreFormControlState(const FormControlState&) override;
+ bool ShouldSaveAndRestoreFormControlState() const override;
bool SupportsValidation() const override;
LayoutObject* CreateLayoutObject(const ComputedStyle&) const override;
void AccessKeyAction(bool send_mouse_events) override;

Powered by Google App Engine
This is Rietveld 408576698