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

Unified Diff: Source/WebCore/inspector/InjectedScript.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/inspector/InjectedScript.h ('k') | Source/WebCore/inspector/InjectedScriptBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/InjectedScript.cpp
diff --git a/Source/WebCore/inspector/InjectedScript.cpp b/Source/WebCore/inspector/InjectedScript.cpp
index c19e01a9b5f731640c231ec98904cf38f8b935dd..ee42502c5ad551ed4616b13d3390748b73b4d601 100644
--- a/Source/WebCore/inspector/InjectedScript.cpp
+++ b/Source/WebCore/inspector/InjectedScript.cpp
@@ -30,7 +30,6 @@
#include "config.h"
-#if ENABLE(INSPECTOR)
#include "InjectedScript.h"
@@ -214,7 +213,6 @@ void InjectedScript::releaseObject(const String& objectId)
makeCall(function, &result);
}
-#if ENABLE(JAVASCRIPT_DEBUGGER)
PassRefPtr<Array<CallFrame> > InjectedScript::wrapCallFrames(const ScriptValue& callFrames)
{
ASSERT(!hasNoValue());
@@ -228,7 +226,6 @@ PassRefPtr<Array<CallFrame> > InjectedScript::wrapCallFrames(const ScriptValue&
return Array<CallFrame>::runtimeCast(result);
return Array<CallFrame>::create();
}
-#endif
PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapObject(const ScriptValue& value, const String& groupName, bool generatePreview) const
{
@@ -307,4 +304,3 @@ ScriptValue InjectedScript::nodeAsScriptValue(Node* node)
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
« no previous file with comments | « Source/WebCore/inspector/InjectedScript.h ('k') | Source/WebCore/inspector/InjectedScriptBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698