Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index 52b3bf733f57ae3546a22da17b991004125d0f92..e034142e4a1449c0576d40f297a995a0c996d8ae 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -337,7 +337,7 @@ void ScopeIterator::DebugPrint() { |
if (!CurrentContext().is_null()) { |
CurrentContext()->Print(os); |
if (CurrentContext()->has_extension()) { |
- Handle<Object> extension(CurrentContext()->extension(), isolate_); |
+ Handle<HeapObject> extension(CurrentContext()->extension(), isolate_); |
if (extension->IsJSContextExtensionObject()) { |
extension->Print(os); |
} |
@@ -361,7 +361,7 @@ void ScopeIterator::DebugPrint() { |
os << "Closure:\n"; |
CurrentContext()->Print(os); |
if (CurrentContext()->has_extension()) { |
- Handle<Object> extension(CurrentContext()->extension(), isolate_); |
+ Handle<HeapObject> extension(CurrentContext()->extension(), isolate_); |
if (extension->IsJSContextExtensionObject()) { |
extension->Print(os); |
} |