diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-05-20 09:56:07 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-05-20 09:56:07 +0000 |
commit | 41386e9cb918eed93b3f13648cbef387e371e451 (patch) | |
tree | a97f9d7bd1d9d091833286085f72da9d83fd0606 /Source/WebCore/html/HTMLFormControlElementWithState.cpp | |
parent | e15dd966d523731101f70ccf768bba12435a0208 (diff) | |
download | WebKitGtk-tarball-41386e9cb918eed93b3f13648cbef387e371e451.tar.gz |
webkitgtk-2.4.9webkitgtk-2.4.9
Diffstat (limited to 'Source/WebCore/html/HTMLFormControlElementWithState.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLFormControlElementWithState.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLFormControlElementWithState.cpp b/Source/WebCore/html/HTMLFormControlElementWithState.cpp index 57b238ec5..d16577f0a 100644 --- a/Source/WebCore/html/HTMLFormControlElementWithState.cpp +++ b/Source/WebCore/html/HTMLFormControlElementWithState.cpp @@ -64,6 +64,16 @@ bool HTMLFormControlElementWithState::shouldAutocomplete() const return form()->shouldAutocomplete(); } +void HTMLFormControlElementWithState::notifyFormStateChanged() +{ + Frame* frame = document().frame(); + if (!frame) + return; + + if (Page* page = frame->page()) + page->chrome().client().formStateDidChange(this); +} + bool HTMLFormControlElementWithState::shouldSaveAndRestoreFormControlState() const { // We don't save/restore control state in a form with autocomplete=off. |