| Index: Source/bindings/core/v8/ScriptValue.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptValue.cpp b/Source/bindings/core/v8/ScriptValue.cpp
|
| index 5b7a362ce41c97e9952fceecdb756f13e0f14e18..2a27746c837fe1bc5ccfa8a2ee30a81cecd121ee 100644
|
| --- a/Source/bindings/core/v8/ScriptValue.cpp
|
| +++ b/Source/bindings/core/v8/ScriptValue.cpp
|
| @@ -76,7 +76,7 @@ bool ScriptValue::toString(String& result) const
|
|
|
| PassRefPtr<JSONValue> ScriptValue::toJSONValue(ScriptState* scriptState) const
|
| {
|
| - ASSERT(!scriptState->contextIsValid());
|
| + ASSERT(scriptState->contextIsValid());
|
| ScriptState::Scope scope(scriptState);
|
| return v8ToJSONValue(scriptState->isolate(), v8Value(), JSONValue::maxDepth);
|
| }
|
|
|