Fix GTK WebKit2 build after r148005.

https://bugs.webkit.org/show_bug.cgi?id=114270

Reviewed by Andreas Kling.

Fix GTK build break that went through the buildbot undetected.

* UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
(webkit_file_chooser_request_get_selected_files):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 07a5be6e
2013-04-09 Michael Brüning <michael.bruning@digia.com>
Fix GTK WebKit2 build after r148005.
https://bugs.webkit.org/show_bug.cgi?id=114270
Reviewed by Andreas Kling.
Fix GTK build break that went through the buildbot undetected.
* UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
(webkit_file_chooser_request_get_selected_files):
2013-04-09 Michael Brüning <michael.bruning@digia.com>
[Qt][WK2] Remove direct references to WebPageProxy from QQuickWebPage.
......@@ -355,7 +355,7 @@ const gchar* const* webkit_file_chooser_request_get_selected_files(WebKitFileCho
WebString* webFileName = static_cast<WebString*>(selectedFileNames->at(i));
if (webFileName->isEmpty())
continue;
CString filename = fileSystemRepresentation(selectedFileNames[i]);
CString filename = fileSystemRepresentation(webFileName->string());
g_ptr_array_add(request->priv->selectedFiles.get(), g_strdup(filename.data()));
}
g_ptr_array_add(request->priv->selectedFiles.get(), 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment