Index: Source/WebCore/inspector/WorkerRuntimeAgent.cpp |
diff --git a/Source/WebCore/inspector/WorkerRuntimeAgent.cpp b/Source/WebCore/inspector/WorkerRuntimeAgent.cpp |
index 72dc4bc76a11fcbe1e6e8ccd1d4f69d9c6e0b873..cd07a4f1bb636fab699ee4a0b2332d4263b89407 100644 |
--- a/Source/WebCore/inspector/WorkerRuntimeAgent.cpp |
+++ b/Source/WebCore/inspector/WorkerRuntimeAgent.cpp |
@@ -30,7 +30,7 @@ |
#include "config.h" |
-#if ENABLE(INSPECTOR) && ENABLE(WORKERS) |
+#if ENABLE(WORKERS) |
#include "WorkerRuntimeAgent.h" |
@@ -82,7 +82,6 @@ void WorkerRuntimeAgent::run(ErrorString*) |
m_paused = false; |
} |
-#if ENABLE(JAVASCRIPT_DEBUGGER) |
void WorkerRuntimeAgent::pauseWorkerContext(WorkerContext* context) |
{ |
m_paused = true; |
@@ -92,8 +91,7 @@ void WorkerRuntimeAgent::pauseWorkerContext(WorkerContext* context) |
// Keep waiting until execution is resumed. |
} while (result == MessageQueueMessageReceived && m_paused); |
} |
-#endif // ENABLE(JAVASCRIPT_DEBUGGER) |
} // namespace WebCore |
-#endif // ENABLE(INSPECTOR) && ENABLE(WORKERS) |
+#endif // ENABLE(WORKERS) |