diff options
author | Konstantin Tokarev <annulen@yandex.ru> | 2017-04-06 10:05:55 +0300 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2017-04-07 18:17:58 +0000 |
commit | 928cd15d3d3ab82734f49eb9d694faf59c3a0c6d (patch) | |
tree | b4ccd30048fc23f59c8f156d6a0d1060b7121f16 /Source/WebKit2/UIProcess/API | |
parent | be770ca621f6463339b7d15be088e1b9acd851e5 (diff) | |
download | qtwebkit-928cd15d3d3ab82734f49eb9d694faf59c3a0c6d.tar.gz |
Import WebKit commit 342c7c7c069db3ca1d09ae6c5f7d600f9b241778
Change-Id: I8886595114569f61168aed76b23ad7288c5cb34c
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/WebKit2/UIProcess/API')
-rw-r--r-- | Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp b/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp index 4c412e1dd..9b634184a 100644 --- a/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp +++ b/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp @@ -806,7 +806,7 @@ void QQuickWebViewPrivate::chooseFiles(WKOpenPanelResultListenerRef listenerRef, QStringList selectedPaths = dialogRunner.filePaths(); Vector<RefPtr<API::Object> > wkFiles(selectedPaths.size()); - for (unsigned i = 0; i < selectedPaths.size(); ++i) + for (int i = 0; i < selectedPaths.size(); ++i) wkFiles[i] = API::URL::create(QUrl::fromLocalFile(selectedPaths.at(i)).toString()); WKOpenPanelResultListenerChooseFiles(listenerRef, toAPI(&API::Array::create(WTFMove(wkFiles)).leakRef())); |