diff options
-rwxr-xr-x | WebCore/bindings/v8/ScriptValue.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/ScriptValue.cpp b/WebCore/bindings/v8/ScriptValue.cpp index 4ae532d..54f3860 100755 --- a/WebCore/bindings/v8/ScriptValue.cpp +++ b/WebCore/bindings/v8/ScriptValue.cpp @@ -67,6 +67,7 @@ String ScriptValue::toString(ScriptState*) const return toWebCoreString(m_value); } +#if ENABLE(INSPECTOR) static PassRefPtr<InspectorValue> v8ToInspectorValue(v8::Handle<v8::Value> value) { if (value.IsEmpty()) { @@ -122,5 +123,6 @@ PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptStat v8::Context::Scope contextScope(scriptState->context()); return v8ToInspectorValue(m_value); } +#endif } // namespace WebCore |