Index: Source/WebCore/bindings/v8/ScriptValue.cpp |
diff --git a/Source/WebCore/bindings/v8/ScriptValue.cpp b/Source/WebCore/bindings/v8/ScriptValue.cpp |
index bd0515739d18e0f672384baa9694ecb71a853fad..b4b755595b603e6ec945f0625100b166f68a0285 100644 |
--- a/Source/WebCore/bindings/v8/ScriptValue.cpp |
+++ b/Source/WebCore/bindings/v8/ScriptValue.cpp |
@@ -83,7 +83,6 @@ String ScriptValue::toString(ScriptState*) const |
return v8StringToWebCoreString<String>(string, DoNotExternalize); |
} |
-#if ENABLE(INSPECTOR) |
static PassRefPtr<InspectorValue> v8ToInspectorValue(v8::Handle<v8::Value> value, int maxDepth) |
{ |
if (value.IsEmpty()) { |
@@ -144,6 +143,5 @@ PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptStat |
v8::Context::Scope contextScope(scriptState->context()); |
return v8ToInspectorValue(v8ValueRaw(), InspectorValue::maxDepth); |
} |
-#endif |
} // namespace WebCore |