Index: Source/WebKit/chromium/src/ChromeClientImpl.cpp |
diff --git a/Source/WebKit/chromium/src/ChromeClientImpl.cpp b/Source/WebKit/chromium/src/ChromeClientImpl.cpp |
index 60cceda56884f0e1eaf34e4d402841c24f2a0168..d188558913dc3aae02f5ca45d3484c247e4a8c74 100644 |
--- a/Source/WebKit/chromium/src/ChromeClientImpl.cpp |
+++ b/Source/WebKit/chromium/src/ChromeClientImpl.cpp |
@@ -649,11 +649,7 @@ void ChromeClientImpl::runOpenPanel(Frame* frame, PassRefPtr<FileChooser> fileCh |
if (params.selectedFiles.size() > 0) |
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); |