summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp b/chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
index 7ffe40b29da..d40d965acb2 100644
--- a/chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
+++ b/chromium/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
@@ -32,7 +32,7 @@
#include "config.h"
#include "core/html/forms/BaseCheckableInputType.h"
-#include "HTMLNames.h"
+#include "core/HTMLNames.h"
#include "core/events/KeyboardEvent.h"
#include "core/html/FormDataList.h"
#include "core/html/HTMLInputElement.h"
@@ -111,4 +111,9 @@ bool BaseCheckableInputType::isCheckable()
return true;
}
+bool BaseCheckableInputType::shouldDispatchFormControlChangeEvent(String& oldValue, String& newValue)
+{
+ return oldValue != newValue;
+}
+
} // namespace WebCore