Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 0a635fcbb0bc547f01c2c3029a03341a30e08d9b..21acb83c6c258d0b5a9d114478dbf42719bc9f88 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1522,7 +1522,7 @@ Statement* Parser::ParseNativeDeclaration(bool* ok) { |
Handle<Code> construct_stub = Handle<Code>(fun->shared()->construct_stub()); |
Handle<SharedFunctionInfo> shared = |
isolate()->factory()->NewSharedFunctionInfo(name, literals, code, |
- Handle<SerializedScopeInfo>(fun->shared()->scope_info())); |
+ Handle<ScopeInfo>(fun->shared()->scope_info())); |
shared->set_construct_stub(*construct_stub); |
// Copy the function data to the shared function info. |