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

Unified Diff: Source/WebCore/page/Page.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/page/Page.h ('k') | Source/WebCore/platform/ContextMenuItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/Page.cpp
diff --git a/Source/WebCore/page/Page.cpp b/Source/WebCore/page/Page.cpp
index 48a4e11064b282f4f36c21d53dd3ab736af2c014..8d8b900b347470dacbeff564e9d6f86853ff0398 100644
--- a/Source/WebCore/page/Page.cpp
+++ b/Source/WebCore/page/Page.cpp
@@ -126,9 +126,7 @@ Page::Page(PageClients& pageClients)
#if ENABLE(CONTEXT_MENUS)
, m_contextMenuController(ContextMenuController::create(this, pageClients.contextMenuClient))
#endif
-#if ENABLE(INSPECTOR)
, m_inspectorController(InspectorController::create(this, pageClients.inspectorClient))
-#endif
#if ENABLE(POINTER_LOCK)
, m_pointerLockController(PointerLockController::create(this))
#endif
@@ -211,9 +209,7 @@ Page::~Page()
if (m_alternativeTextClient)
m_alternativeTextClient->pageDestroyed();
-#if ENABLE(INSPECTOR)
m_inspectorController->inspectedPageDestroyed();
-#endif
if (m_scrollingCoordinator)
m_scrollingCoordinator->pageDestroyed();
@@ -1462,9 +1458,7 @@ void Page::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
#if ENABLE(CONTEXT_MENUS)
info.addMember(m_contextMenuController, "contextMenuController");
#endif
-#if ENABLE(INSPECTOR)
info.addMember(m_inspectorController, "inspectorController");
-#endif
#if ENABLE(POINTER_LOCK)
info.addMember(m_pointerLockController, "pointerLockController");
#endif
« no previous file with comments | « Source/WebCore/page/Page.h ('k') | Source/WebCore/platform/ContextMenuItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698