diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/html/HTMLFormControlElementWithState.cpp | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
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. |