Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 6ce09ebc41cc2a801a73e7cc1b49dea998855db0..d860f755d2d90c68f2ea96fd63aaae8e3b44e039 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -617,9 +617,8 @@ void ChromeClientImpl::runOpenPanel(LocalFrame* frame, PassRefPtr<FileChooser> f |
params.selectedFiles = fileChooser->settings().selectedFiles; |
if (params.selectedFiles.size() > 0) |
params.initialValue = params.selectedFiles[0]; |
-#if ENABLE(MEDIA_CAPTURE) |
params.useMediaCapture = fileChooser->settings().useMediaCapture; |
-#endif |
+ |
WebFileChooserCompletionImpl* chooserCompletion = |
new WebFileChooserCompletionImpl(fileChooser); |