Chromium Code Reviews| Index: src/factory.cc | 
| diff --git a/src/factory.cc b/src/factory.cc | 
| index 57ecbaaa09320be35d3bba66788bfdbdca4fdfc4..595259b3aaf85831f639cee7b4db2f9360ba4ccc 100644 | 
| --- a/src/factory.cc | 
| +++ b/src/factory.cc | 
| @@ -727,6 +727,7 @@ Handle<Context> Factory::NewNativeContext() { | 
| array->set_map_no_write_barrier(*native_context_map()); | 
| Handle<Context> context = Handle<Context>::cast(array); | 
| context->set_js_array_maps(*undefined_value()); | 
| + context->set_errors_thrown(Smi::FromInt(0)); | 
| DCHECK(context->IsNativeContext()); | 
| return context; | 
| } |