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

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

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/DefaultSharedWorkerRepository.cpp ('k') | Source/WebCore/workers/WorkerContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/workers/WorkerContext.h
diff --git a/Source/WebCore/workers/WorkerContext.h b/Source/WebCore/workers/WorkerContext.h
index 5e175b82076f171aa65ede4f1673a4d8b0e4a581..83f6cf187d34ec35042038848a982970208eaeb8 100644
--- a/Source/WebCore/workers/WorkerContext.h
+++ b/Source/WebCore/workers/WorkerContext.h
@@ -76,9 +76,7 @@ namespace WebCore {
WorkerScriptController* script() { return m_script.get(); }
void clearScript() { m_script.clear(); }
-#if ENABLE(INSPECTOR)
void clearInspector();
-#endif
WorkerThread* thread() const { return m_thread; }
@@ -109,9 +107,7 @@ namespace WebCore {
virtual bool isContextThread() const OVERRIDE;
virtual bool isJSExecutionForbidden() const OVERRIDE;
-#if ENABLE(INSPECTOR)
WorkerInspectorController* workerInspectorController() { return m_workerInspectorController.get(); }
-#endif
// These methods are used for GC marking. See JSWorkerContext::visitChildrenVirtual(SlotVisitor&) in
// JSWorkerContextCustom.cpp.
WorkerNavigator* optionalNavigator() const { return m_navigator.get(); }
@@ -177,9 +173,7 @@ namespace WebCore {
#if ENABLE(BLOB)
mutable RefPtr<DOMURL> m_domURL;
#endif
-#if ENABLE(INSPECTOR)
OwnPtr<WorkerInspectorController> m_workerInspectorController;
-#endif
bool m_closing;
EventTargetData m_eventTargetData;
« no previous file with comments | « Source/WebCore/workers/DefaultSharedWorkerRepository.cpp ('k') | Source/WebCore/workers/WorkerContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698