summaryrefslogtreecommitdiffstats
path: root/WebCore/page/EventSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/EventSource.cpp')
-rw-r--r--WebCore/page/EventSource.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/WebCore/page/EventSource.cpp b/WebCore/page/EventSource.cpp
index 5e3141d..a7c715a 100644
--- a/WebCore/page/EventSource.cpp
+++ b/WebCore/page/EventSource.cpp
@@ -116,9 +116,6 @@ void EventSource::connect()
m_loader = ThreadableLoader::create(scriptExecutionContext(), this, request, options);
m_requestInFlight = true;
-
- if (!scriptExecutionContext()->isWorkerContext())
- cache()->loader()->nonCacheRequestInFlight(m_url);
}
void EventSource::endRequest()
@@ -128,9 +125,6 @@ void EventSource::endRequest()
if (!m_failSilently)
dispatchEvent(Event::create(eventNames().errorEvent, false, false));
- if (!scriptExecutionContext()->isWorkerContext())
- cache()->loader()->nonCacheRequestComplete(m_url);
-
if (m_state != CLOSED)
scheduleReconnect();
else