Index: Source/core/workers/WorkerContext.cpp |
diff --git a/Source/core/workers/WorkerContext.cpp b/Source/core/workers/WorkerContext.cpp |
index 79269066ec7a2859f9bb5d6f27b839230021d51b..a4e6dd6f80ed6b1143c4f612cafb8c67a800e481 100644 |
--- a/Source/core/workers/WorkerContext.cpp |
+++ b/Source/core/workers/WorkerContext.cpp |
@@ -53,7 +53,6 @@ |
#include "core/workers/WorkerObjectProxy.h" |
#include "core/workers/WorkerScriptLoader.h" |
#include "core/workers/WorkerThread.h" |
-#include "core/xml/XMLHttpRequestException.h" |
#include <wtf/RefPtr.h> |
#include <wtf/UnusedParam.h> |
@@ -245,7 +244,7 @@ void WorkerContext::importScripts(const Vector<String>& urls, ExceptionCode& ec) |
// If the fetching attempt failed, throw a NETWORK_ERR exception and abort all these steps. |
if (scriptLoader->failed()) { |
- ec = XMLHttpRequestException::NETWORK_ERR; |
+ ec = NETWORK_ERR; |
return; |
} |