summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp')
-rw-r--r--src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp b/src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp
index b875f0ffe9..6288a88be4 100644
--- a/src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp
+++ b/src/3rdparty/webkit/Source/WebCore/inspector/InspectorWorkerAgent.cpp
@@ -30,7 +30,7 @@
#include "config.h"
-#if ENABLE(WORKERS)
+#if ENABLE(WORKERS) && ENABLE(INSPECTOR)
#include "InspectorWorkerAgent.h"
@@ -128,4 +128,4 @@ void InspectorWorkerAgent::didStartWorkerContext(WorkerContextProxy* workerConte
} // namespace WebCore
-#endif // ENABLE(WORKERS)
+#endif // ENABLE(WORKERS) && ENABLE(INSPECTOR)