Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index 3ecbf22e4ded3636444716ddf76332023bc2e122..2c89319c72ead977a266b02194b1f353fdaaf88b 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -1741,6 +1741,20 @@ void JSObject::EnqueueChangeRecord( |
| } |
| +void JSObject::DeliverChangeRecords(Isolate* isolate) { |
| + ASSERT(isolate->has_active_object_observers()); |
| + isolate->set_has_active_object_observers(false); |
|
rossberg
2012/11/06 16:45:57
This should probably be go to the end.
adamk
2012/11/06 17:00:09
Done.
|
| + bool threw = false; |
| + Execution::Call( |
| + isolate->observers_deliver_changes(), |
| + isolate->factory()->undefined_value(), |
| + 0, |
| + NULL, |
| + &threw); |
| + ASSERT(!threw); |
| +} |
| + |
| + |
| MaybeObject* JSObject::SetPropertyPostInterceptor( |
| String* name, |
| Object* value, |