Index: Source/WebCore/workers/WorkerContext.cpp |
diff --git a/Source/WebCore/workers/WorkerContext.cpp b/Source/WebCore/workers/WorkerContext.cpp |
index 0ae0f89c982f56233efdc26ad6b2734a6d8b69b6..fe6a086c44bad233e9bb707e092ab5ca6df8dcf9 100644 |
--- a/Source/WebCore/workers/WorkerContext.cpp |
+++ b/Source/WebCore/workers/WorkerContext.cpp |
@@ -91,9 +91,7 @@ WorkerContext::WorkerContext(const KURL& url, const String& userAgent, PassOwnPt |
, m_groupSettings(settings) |
, m_script(adoptPtr(new WorkerScriptController(this))) |
, m_thread(thread) |
-#if ENABLE(INSPECTOR) |
, m_workerInspectorController(adoptPtr(new WorkerInspectorController(this))) |
-#endif |
, m_closing(false) |
, m_eventQueue(WorkerEventQueue::create(this)) |
, m_topOrigin(topOrigin) |
@@ -211,12 +209,10 @@ void WorkerContext::clearTimeout(int timeoutId) |
DOMTimer::removeById(scriptExecutionContext(), timeoutId); |
} |
-#if ENABLE(INSPECTOR) |
void WorkerContext::clearInspector() |
{ |
m_workerInspectorController.clear(); |
} |
-#endif |
int WorkerContext::setInterval(PassOwnPtr<ScheduledAction> action, int timeout) |
{ |