| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index 11f96db369e6f3ef58ccfb6720e27e9a3b510d3f..499991ce8cfdb25ae87011632c5e048399184767 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -627,6 +627,7 @@ void ChromeClientImpl::openFileChooser(LocalFrame* frame, PassRefPtr<FileChooser
|
| params.initialValue = params.selectedFiles[0];
|
| params.useMediaCapture = fileChooser->settings().useMediaCapture;
|
| params.needLocalPath = fileChooser->settings().allowsDirectoryUpload;
|
| + params.requestor = frame->document()->url();
|
|
|
| WebFileChooserCompletionImpl* chooserCompletion = new WebFileChooserCompletionImpl(fileChooser);
|
| if (client->runFileChooser(params, chooserCompletion))
|
|
|