summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/network_delegate_qt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/network_delegate_qt.cpp b/src/core/network_delegate_qt.cpp
index 8a79bbc8a..81ab4b6bc 100644
--- a/src/core/network_delegate_qt.cpp
+++ b/src/core/network_delegate_qt.cpp
@@ -136,9 +136,7 @@ void NetworkDelegateQt::CompleteURLRequestOnIOThread(net::URLRequest *request,
error = net::OK;
break;
case WebContentsAdapterClient::IgnoreRequest:
- error = net::OK;
- // We can cancel the request here since we are on the IO thread.
- request->Cancel();
+ error = net::ERR_ABORTED;
break;
default:
error = net::ERR_FAILED;