| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index 315c4b93e67247cacfb2357dc8cfde8bfe6b718c..3b7787e9af3cfe491bb639e2d480cb0e5f2c8a67 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -1707,26 +1707,10 @@ bool HTMLInputElement::shouldAppearIndeterminate() const
|
| }
|
|
|
| #if ENABLE(MEDIA_CAPTURE)
|
| -String HTMLInputElement::capture() const
|
| +bool HTMLInputElement::isCaptureEnabled() const
|
| {
|
| - if (!isFileUpload())
|
| - return String();
|
| -
|
| - String capture = fastGetAttribute(captureAttr).lower();
|
| - if (capture == "camera"
|
| - || capture == "camcorder"
|
| - || capture == "microphone"
|
| - || capture == "filesystem")
|
| - return capture;
|
| -
|
| - return "filesystem";
|
| + return fastHasAttribute(captureAttr);
|
| }
|
| -
|
| -void HTMLInputElement::setCapture(const String& value)
|
| -{
|
| - setAttribute(captureAttr, value);
|
| -}
|
| -
|
| #endif
|
|
|
| bool HTMLInputElement::isInRequiredRadioButtonGroup()
|
|
|