Compile after latest WebKit changes and don't depend on
[WebKit-https.git] / WebCore / platform / network / qt / ResourceHandleManager.cpp
index 583a98674527e26f61450031a9dcb2e3b40f783b..8c34fc306588418e93317d782eddcf98910f21c2 100644 (file)
@@ -249,7 +249,6 @@ void ResourceHandleManager::remove(ResourceHandle* job)
     if (!qtJob)
         return;
 
     if (!qtJob)
         return;
 
-    d->m_client->receivedAllData(job, 0);
     d->m_client->didFinishLoading(job);
 
     m_resourceToJob.remove(job);
     d->m_client->didFinishLoading(job);
 
     m_resourceToJob.remove(job);
@@ -310,7 +309,7 @@ void ResourceHandleManager::deliverJobData(QtJob* job, const QByteArray& data)
     if (!d || !d->m_client)
         return;
 
     if (!d || !d->m_client)
         return;
 
-    d->m_client->didReceiveData(handle, data.data(), data.size());
+    d->m_client->didReceiveData(handle, data.data(), data.size(), data.size() /* FixMe */);
 
     //FIXME: should report an error
     //handle->setError(0);
 
     //FIXME: should report an error
     //handle->setError(0);