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

Unified Diff: Source/WebCore/inspector/InstrumentingAgents.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: 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
Index: Source/WebCore/inspector/InstrumentingAgents.cpp
diff --git a/Source/WebCore/inspector/InstrumentingAgents.cpp b/Source/WebCore/inspector/InstrumentingAgents.cpp
index a1b7a340ade0d223b995869727f2fc76363b6e23..b1ff20880e98cfeae187f1a1851ce3d85c45e1d8 100644
--- a/Source/WebCore/inspector/InstrumentingAgents.cpp
+++ b/Source/WebCore/inspector/InstrumentingAgents.cpp
@@ -30,7 +30,6 @@
#include "config.h"
-#if ENABLE(INSPECTOR)
#include "InstrumentingAgents.h"
@@ -63,12 +62,10 @@ InstrumentingAgents::InstrumentingAgents()
, m_inspectorFileSystemAgent(0)
#endif
, m_inspectorApplicationCacheAgent(0)
-#if ENABLE(JAVASCRIPT_DEBUGGER)
, m_inspectorDebuggerAgent(0)
, m_pageDebuggerAgent(0)
, m_inspectorDOMDebuggerAgent(0)
, m_inspectorProfilerAgent(0)
-#endif
#if ENABLE(WORKERS)
, m_inspectorWorkerAgent(0)
#endif
@@ -98,12 +95,10 @@ void InstrumentingAgents::reset()
m_inspectorFileSystemAgent = 0;
#endif
m_inspectorApplicationCacheAgent = 0;
-#if ENABLE(JAVASCRIPT_DEBUGGER)
m_inspectorDebuggerAgent = 0;
m_pageDebuggerAgent = 0;
m_inspectorDOMDebuggerAgent = 0;
m_inspectorProfilerAgent = 0;
-#endif
#if ENABLE(WORKERS)
m_inspectorWorkerAgent = 0;
#endif
@@ -129,4 +124,3 @@ InstrumentingAgents* instrumentationForWorkerContext(WorkerContext* workerContex
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)

Powered by Google App Engine
This is Rietveld 408576698