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

Unified Diff: Source/core/html/HTMLInputElement.h

Issue 255163002: Dispatch change event for input type=checkbox when checked but value is null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed input type check and instead using virtual function to check if input type is checkbox Created 6 years, 8 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: Source/core/html/HTMLInputElement.h
diff --git a/Source/core/html/HTMLInputElement.h b/Source/core/html/HTMLInputElement.h
index af27a9223b1e0e62a9bdabe864a5ea7cd5d732f3..9be065ac2a0e4c8435b309ebd31840a29c46b4e7 100644
--- a/Source/core/html/HTMLInputElement.h
+++ b/Source/core/html/HTMLInputElement.h
@@ -91,7 +91,7 @@ public:
bool isSearchField() const;
bool isInputTypeHidden() const;
bool isPasswordField() const;
- bool isCheckbox() const;
+ virtual bool isCheckbox() const OVERRIDE;
bool isRangeControl() const;
// FIXME: It's highly likely that any call site calling this function should instead

Powered by Google App Engine
This is Rietveld 408576698