Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index ea4b6644c11c3ddda184b086a35969637533821c..3afa5a3ec297cc3f4c0742706d89f462aed7ff2c 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -3996,10 +3996,9 @@ Maybe<PropertyAttributes> JSProxy::GetPropertyAttributesWithHandler( |
Handle<String> trap = isolate->factory()->InternalizeOneByteString( |
STATIC_CHAR_VECTOR("getPropertyDescriptor")); |
Handle<Object> args[] = { handler, trap, name }; |
- Handle<Object> error; |
- MaybeHandle<Object> maybe_error = isolate->factory()->NewTypeError( |
+ Handle<Object> error = isolate->factory()->NewTypeError( |
"proxy_prop_not_configurable", HandleVector(args, arraysize(args))); |
- if (maybe_error.ToHandle(&error)) isolate->Throw(*error); |
+ isolate->Throw(*error); |
return maybe(NONE); |
} |