| Index: Source/core/html/FileInputType.cpp
|
| diff --git a/Source/core/html/FileInputType.cpp b/Source/core/html/FileInputType.cpp
|
| index 27a855454d242a8afb1840a81af4f98fbd0e197f..1f5ab6db24e2d7bfe8bb949a6285614b17c61f3b 100644
|
| --- a/Source/core/html/FileInputType.cpp
|
| +++ b/Source/core/html/FileInputType.cpp
|
| @@ -151,8 +151,7 @@ void FileInputType::handleDOMActivateEvent(Event* event)
|
| settings.acceptFileExtensions = input->acceptFileExtensions();
|
| settings.selectedFiles = m_fileList->paths();
|
| #if ENABLE(MEDIA_CAPTURE)
|
| - settings.capture = input->capture();
|
| - settings.useMediaCapture = input->fastHasAttribute(captureAttr);
|
| + settings.useMediaCapture = input->capture();
|
| #endif
|
| chrome->runOpenPanel(input->document()->frame(), newFileChooser(settings));
|
| }
|
|
|