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

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: 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
Index: Source/WebCore/inspector/InstrumentingAgents.cpp
diff --git a/Source/WebCore/inspector/InstrumentingAgents.cpp b/Source/WebCore/inspector/InstrumentingAgents.cpp
index a1b7a340ade0d223b995869727f2fc76363b6e23..c5765759871c7388bc6e2dd7de49d7b2bd927715 100644
--- a/Source/WebCore/inspector/InstrumentingAgents.cpp
+++ b/Source/WebCore/inspector/InstrumentingAgents.cpp
@@ -29,9 +29,6 @@
*/
#include "config.h"
-
-#if ENABLE(INSPECTOR)
-
#include "InstrumentingAgents.h"
#include "InspectorController.h"
@@ -63,12 +60,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 +93,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 +122,3 @@ InstrumentingAgents* instrumentationForWorkerContext(WorkerContext* workerContex
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
« no previous file with comments | « Source/WebCore/inspector/InstrumentingAgents.h ('k') | Source/WebCore/inspector/MemoryInstrumentationImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698