summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-09-20 21:53:03 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-09-20 21:53:03 +0200
commit171053e5e2efcdc6854d8b3a0d06934fb309e53d (patch)
treec85f2b00cea9c5b648ad9945be3155d29d96395f /Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
parent0b3dc81d9701aea106543b49bde511a5697cdd6e (diff)
downloadqtwebkit-171053e5e2efcdc6854d8b3a0d06934fb309e53d.tar.gz
Imported WebKit commit f35955d976484e57fd83612794aefd58fdaa6337 (http://svn.webkit.org/repository/webkit/trunk@129155)
New snapshot with prospective build fix
Diffstat (limited to 'Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp')
-rw-r--r--Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
index 100633962..ef2ce603f 100644
--- a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
+++ b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
@@ -285,10 +285,7 @@ void PageClientImpl::countStringMatchesInCustomRepresentation(const String&, Fin
void PageClientImpl::handleDownloadRequest(DownloadProxy* download)
{
Ewk_Download_Job* ewkDownload = ewk_download_job_new(download, m_viewWidget);
- // For now we only support one default context, but once we support
- // multiple contexts, we will need to retrieve the context from the
- // view.
- ewk_context_download_job_add(ewk_context_default_get(), ewkDownload);
+ ewk_context_download_job_add(ewk_view_context_get(m_viewWidget), ewkDownload);
ewk_download_job_unref(ewkDownload);
}