| Index: Source/bindings/core/v8/ScriptValue.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptValue.cpp b/Source/bindings/core/v8/ScriptValue.cpp
|
| index 7167aebbbfe5790394453ff708878ec69cc5bdab..ce6dce451a8a9d627d5b21b529940aa03b451806 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->contextIsEmpty());
|
| + ASSERT(!scriptState->contextIsValue());
|
| ScriptState::Scope scope(scriptState);
|
| return v8ToJSONValue(scriptState->isolate(), v8Value(), JSONValue::maxDepth);
|
| }
|
|
|