diff options
-rw-r--r-- | WebCore/bindings/js/ScriptObject.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/WebCore/bindings/js/ScriptObject.cpp b/WebCore/bindings/js/ScriptObject.cpp index b69ef2b..f14145e 100644 --- a/WebCore/bindings/js/ScriptObject.cpp +++ b/WebCore/bindings/js/ScriptObject.cpp @@ -33,12 +33,12 @@ #include "JSDOMBinding.h" -#if ENABLE(JAVASCRIPT_DEBUGGER) +#include <runtime/JSLock.h> + +#if ENABLE(INSPECTOR) #include "JSInspectorBackend.h" #endif -#include <runtime/JSLock.h> - using namespace JSC; namespace WebCore { @@ -135,7 +135,6 @@ bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const S return handleException(scriptState); } -#if ENABLE(JAVASCRIPT_DEBUGGER) #if ENABLE(INSPECTOR) bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorBackend* value) { @@ -145,7 +144,6 @@ bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, Inspect return handleException(scriptState); } #endif // ENABLE(INSPECTOR) -#endif bool ScriptGlobalObject::get(ScriptState* scriptState, const char* name, ScriptObject& value) { |