| Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
|
| index e7fb0d6290cf962b068015a52327041bda1c1e83..afce5df46b436b8684cb08dad99409168666c11a 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
|
| @@ -74,8 +74,8 @@ public:
|
| ScriptState* scriptState = static_cast<ScriptState*>(context->GetAlignedPointerFromEmbedderData(v8ContextPerContextDataIndex));
|
| // ScriptState::from() must not be called for a context that does not have
|
| // valid embedder data in the embedder field.
|
| - RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(scriptState);
|
| - RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(scriptState->context() == context);
|
| + SECURITY_CHECK(scriptState);
|
| + SECURITY_CHECK(scriptState->context() == context);
|
| return scriptState;
|
| }
|
|
|
|
|