| 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 c8625a81c818c6900c53bd9e13dd7e66ae9c03c3..383ef1b11c2428da66510f8fecfadf958270fd06 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -718,7 +718,7 @@ void ChromeClientImpl::openFileChooser(LocalFrame* frame, PassRefPtr<FileChooser
|
| params.needLocalPath = fileChooser->settings().allowsDirectoryUpload;
|
| params.requestor = frame->document()->url();
|
|
|
| - WebFileChooserCompletionImpl* chooserCompletion = new WebFileChooserCompletionImpl(fileChooser);
|
| + WebFileChooserCompletionImpl* chooserCompletion = new WebFileChooserCompletionImpl(std::move(fileChooser));
|
| if (client->runFileChooser(params, chooserCompletion))
|
| return;
|
| // Choosing failed, so do callback with an empty list.
|
|
|