Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 6017435c6e38b4754c6e11d72c9ce4e091c77742..b1b316f8941059f5e9036c2643c9d0ebb65b4ac9 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -614,6 +614,7 @@ void ChromeClientImpl::runOpenPanel(LocalFrame* frame, PassRefPtr<FileChooser> f |
if (params.selectedFiles.size() > 0) |
params.initialValue = params.selectedFiles[0]; |
params.useMediaCapture = fileChooser->settings().useMediaCapture; |
+ params.needLocalPath = !fileChooser->settings().allowsDirectoryUpload; |
tkent
2014/10/15 08:58:12
I don't understand why directory-upload doesn't ne
hirono
2014/10/15 09:26:51
Yes, this was wrong.
When uploading directory, we
|
WebFileChooserCompletionImpl* chooserCompletion = |
new WebFileChooserCompletionImpl(fileChooser); |