| Index: Source/bindings/core/v8/ScriptDebugServer.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptDebugServer.cpp b/Source/bindings/core/v8/ScriptDebugServer.cpp
|
| index 1426631baa6ce8d5f0b97a261e5ead15f011a72e..f8d2a064ec5c5a6db70d4d1126025fb5b7e3a449 100644
|
| --- a/Source/bindings/core/v8/ScriptDebugServer.cpp
|
| +++ b/Source/bindings/core/v8/ScriptDebugServer.cpp
|
| @@ -642,7 +642,7 @@ bool ScriptDebugServer::isPaused()
|
|
|
| void ScriptDebugServer::compileScript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace)
|
| {
|
| - if (scriptState->contextIsEmpty())
|
| + if (scriptState->contextIsValue())
|
| return;
|
| ScriptState::Scope scope(scriptState);
|
|
|
| @@ -682,7 +682,7 @@ void ScriptDebugServer::runScript(ScriptState* scriptState, const String& script
|
| if (script.IsEmpty())
|
| return;
|
|
|
| - if (scriptState->contextIsEmpty())
|
| + if (scriptState->contextIsValue())
|
| return;
|
| ScriptState::Scope scope(scriptState);
|
| v8::TryCatch tryCatch;
|
|
|