diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebInputElement.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebInputElement.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/WebInputElement.cpp b/Source/WebKit/chromium/src/WebInputElement.cpp index bdc9f5db2..bfc0c236b 100644 --- a/Source/WebKit/chromium/src/WebInputElement.cpp +++ b/Source/WebKit/chromium/src/WebInputElement.cpp @@ -163,6 +163,11 @@ bool WebInputElement::isValidValue(const WebString& value) const return constUnwrap<HTMLInputElement>()->isValidValue(value); } +void WebInputElement::setChecked(bool nowChecked, bool sendChangeEvent) +{ + unwrap<HTMLInputElement>()->setChecked(nowChecked, sendChangeEvent ? DispatchChangeEvent : DispatchNoEvent); +} + bool WebInputElement::isChecked() const { return constUnwrap<HTMLInputElement>()->checked(); |