Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: Source/WebCore/workers/WorkerContext.cpp

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comments addressed Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/workers/WorkerContext.h ('k') | Source/WebCore/workers/WorkerContextProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « Source/WebCore/workers/WorkerContext.h ('k') | Source/WebCore/workers/WorkerContextProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698