Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index d71cccef683e68db8dcb6012a811ded1e604c4c5..02d1cf319403b24e201fa6fb8faf4fbe21d4bbef 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -476,8 +476,8 @@ MaybeHandle<JSObject> ScopeIterator::MaterializeLocalScope() { |
function_context->has_extension() && |
!function_context->IsNativeContext()) { |
bool success = CopyContextExtensionToScopeObject( |
- handle(function_context->extension_object(), isolate_), |
- local_scope, JSReceiver::INCLUDE_PROTOS); |
+ handle(function_context->extension_object(), isolate_), local_scope, |
+ INCLUDE_PROTOS); |
if (!success) return MaybeHandle<JSObject>(); |
} |
@@ -506,8 +506,7 @@ Handle<JSObject> ScopeIterator::MaterializeClosure() { |
// be variables introduced by eval. |
if (context->has_extension()) { |
bool success = CopyContextExtensionToScopeObject( |
- handle(context->extension_object(), isolate_), closure_scope, |
- JSReceiver::OWN_ONLY); |
+ handle(context->extension_object(), isolate_), closure_scope, OWN_ONLY); |
DCHECK(success); |
USE(success); |
} |
@@ -555,8 +554,7 @@ Handle<JSObject> ScopeIterator::MaterializeBlockScope() { |
// Fill all extension variables. |
if (context->extension_object() != nullptr) { |
bool success = CopyContextExtensionToScopeObject( |
- handle(context->extension_object()), block_scope, |
- JSReceiver::OWN_ONLY); |
+ handle(context->extension_object()), block_scope, OWN_ONLY); |
DCHECK(success); |
USE(success); |
} |
@@ -794,10 +792,9 @@ void ScopeIterator::CopyContextLocalsToScopeObject( |
} |
} |
- |
bool ScopeIterator::CopyContextExtensionToScopeObject( |
Handle<JSObject> extension, Handle<JSObject> scope_object, |
- JSReceiver::KeyCollectionType type) { |
+ KeyCollectionType type) { |
Handle<FixedArray> keys; |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate_, keys, JSReceiver::GetKeys(extension, type, ENUMERABLE_STRINGS), |