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

Unified Diff: Source/WebCore/dom/Node.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/dom/Element.cpp ('k') | Source/WebCore/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Node.cpp
diff --git a/Source/WebCore/dom/Node.cpp b/Source/WebCore/dom/Node.cpp
index 13788b33116a64cd60e0c3d72aed35f761a57041..a5d1b3186fe13b30830bbff53d61baeca75e0567 100644
--- a/Source/WebCore/dom/Node.cpp
+++ b/Source/WebCore/dom/Node.cpp
@@ -128,9 +128,7 @@
#include "GestureEvent.h"
#endif
-#if ENABLE(INSPECTOR)
#include "InspectorController.h"
-#endif
#if USE(JSC)
#include <runtime/JSGlobalData.h>
@@ -679,10 +677,8 @@ bool Node::isContentRichlyEditable()
void Node::inspect()
{
-#if ENABLE(INSPECTOR)
if (document() && document()->page())
document()->page()->inspectorController()->inspect(this);
-#endif
}
bool Node::rendererIsEditable(EditableLevel editableLevel, UserSelectAllTreatment treatment) const
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | Source/WebCore/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698