| Index: Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/ChromeClientImpl.cpp b/Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| index c56733f8476710cc651c2240e408804ad0bcba1d..60cceda56884f0e1eaf34e4d402841c24f2a0168 100644
|
| --- a/Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/ChromeClientImpl.cpp
|
| @@ -650,8 +650,10 @@ void ChromeClientImpl::runOpenPanel(Frame* frame, PassRefPtr<FileChooser> fileCh
|
| params.initialValue = params.selectedFiles[0];
|
| #if ENABLE(MEDIA_CAPTURE)
|
| params.capture = fileChooser->settings().capture;
|
| + params.useMediaCapture = fileChooser->settings().useMediaCapture;
|
| #else
|
| params.capture = WebString();
|
| + params.useMediaCapture = false;
|
| #endif
|
| WebFileChooserCompletionImpl* chooserCompletion =
|
| new WebFileChooserCompletionImpl(fileChooser);
|
|
|