Index: Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp |
index a685db90008b4646107106b751ad68c5c905569d..5da3d2941d8c3a7d97a4cd93a19e792620abb9d6 100644 |
--- a/Source/core/html/forms/CheckboxInputType.cpp |
+++ b/Source/core/html/forms/CheckboxInputType.cpp |
@@ -102,9 +102,9 @@ bool CheckboxInputType::isCheckbox() const |
return true; |
} |
-bool CheckboxInputType::supportsIndeterminateAppearance() const |
+bool CheckboxInputType::shouldAppearIndeterminate() const |
{ |
- return true; |
+ return element().indeterminate(); |
} |
} // namespace blink |