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

Unified Diff: Source/WebCore/inspector/WorkerRuntimeAgent.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/inspector/WorkerRuntimeAgent.h ('k') | Source/WebCore/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/WebCore/inspector/WorkerRuntimeAgent.h ('k') | Source/WebCore/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698