Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 126beb0f5f2792d8a6c8f9e24eb67c08d66bf4b6..5f2ecaae9af2c3f21672456a8840e32df1ac38aa 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1682,25 +1682,6 @@ bool HTMLInputElement::shouldAppearIndeterminate() const |
return m_inputType->supportsIndeterminateAppearance() && indeterminate(); |
} |
-#if ENABLE(MEDIA_CAPTURE) |
-bool HTMLInputElement::capture() const |
-{ |
- if (!isFileUpload() || !fastHasAttribute(captureAttr)) |
- return false; |
- |
- // As per crbug.com/240252, emit a deprecation warning when the "capture" |
- // attribute is used as an enum. The spec has been updated and "capture" is |
- // supposed to be used as a boolean. |
- bool hasDeprecatedUsage = !fastGetAttribute(captureAttr).isEmpty(); |
- if (hasDeprecatedUsage) |
- UseCounter::countDeprecation(document(), UseCounter::CaptureAttributeAsEnum); |
- else |
- UseCounter::count(document(), UseCounter::CaptureAttributeAsBoolean); |
- |
- return true; |
-} |
-#endif |
- |
bool HTMLInputElement::isInRequiredRadioButtonGroup() |
{ |
ASSERT(isRadioButton()); |