Clean up usesAsyncCallbacks handling in ResourceHandle
[WebKit-https.git] / Source / WebKit2 / Shared / Downloads / soup / DownloadSoup.cpp
index a2249ba..74ff1a8 100644 (file)
@@ -255,7 +255,7 @@ void Download::cancel()
 void Download::platformInvalidate()
 {
     if (m_resourceHandle) {
-        m_resourceHandle->setClient(0);
+        m_resourceHandle->clearClient();
         m_resourceHandle->cancel();
         m_resourceHandle = nullptr;
     }