Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / forms / CheckboxInputType.cpp
index a685db9..f765227 100644 (file)
@@ -97,14 +97,9 @@ void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState&
     event->setDefaultHandled();
 }
 
-bool CheckboxInputType::isCheckbox() const
+bool CheckboxInputType::shouldAppearIndeterminate() const
 {
-    return true;
-}
-
-bool CheckboxInputType::supportsIndeterminateAppearance() const
-{
-    return true;
+    return element().indeterminate();
 }
 
 } // namespace blink