Chromium Code Reviews| Index: src/scopes.cc |
| diff --git a/src/scopes.cc b/src/scopes.cc |
| index e1326722b531303ee73ed11a532b4a953698593d..2be22c87cc3bb6ec72c87dd0be0d8ac0049e01eb 100644 |
| --- a/src/scopes.cc |
| +++ b/src/scopes.cc |
| @@ -105,7 +105,7 @@ Variable* VariableMap::Lookup(Handle<String> name) { |
| // Implementation of Scope |
| Scope::Scope(Scope* outer_scope, ScopeType type, Zone* zone) |
| - : isolate_(Isolate::Current()), |
| + : isolate_(zone->isolate()), |
| inner_scopes_(4, zone), |
| variables_(zone), |
| internals_(4, zone), |