| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h
|
| index e3e17bae21504b4da809cb2538d1cfc21d806976..f9791198c401a3a8cea87578cc7b0af8e79c9933 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h
|
| @@ -105,6 +105,7 @@ void ScriptPromiseProperty<HolderType, ResolvedType, RejectedType>::resolve(
|
| NOTREACHED();
|
| return;
|
| }
|
| + DCHECK(!ScriptForbiddenScope::isScriptForbidden());
|
| if (!getExecutionContext() || getExecutionContext()->isContextDestroyed())
|
| return;
|
| m_resolved = value;
|
|
|