| 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 61679bc0ffeedf9cf7d840eac24cf9b674dac549..d3109d9d1c9daabd7c564daa0074ab7999b6b729 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h
|
| @@ -119,10 +119,7 @@ void ScriptPromiseProperty<HolderType, ResolvedType, RejectedType>::reject(PassR
|
| template<typename HolderType, typename ResolvedType, typename RejectedType>
|
| v8::Local<v8::Object> ScriptPromiseProperty<HolderType, ResolvedType, RejectedType>::holder(v8::Isolate* isolate, v8::Local<v8::Object> creationContext)
|
| {
|
| - v8::Local<v8::Value> value = toV8(m_holder, creationContext, isolate);
|
| - if (value.IsEmpty())
|
| - return v8::Local<v8::Object>();
|
| - return value.As<v8::Object>();
|
| + return toV8(m_holder, creationContext, isolate).As<v8::Object>();
|
| }
|
|
|
| template<typename HolderType, typename ResolvedType, typename RejectedType>
|
|
|