Index: Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp |
index 9a77643e4310ec4f3185b8def23842ab0da2a72f..da47ff3eb4f74e090628cf4c14618472be74f284 100644 |
--- a/Source/core/html/forms/CheckboxInputType.cpp |
+++ b/Source/core/html/forms/CheckboxInputType.cpp |
@@ -107,4 +107,9 @@ bool CheckboxInputType::supportsIndeterminateAppearance() const |
return true; |
} |
+bool CheckboxInputType::shouldAppearIndeterminate() const |
+{ |
+ return element().indeterminate(); |
+} |
+ |
} // namespace WebCore |