Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 3ecbf22e4ded3636444716ddf76332023bc2e122..1f58450db4d9cec12e7942848bdcefc0817e0069 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1741,6 +1741,20 @@ void JSObject::EnqueueChangeRecord( |
} |
+void JSObject::DeliverChangeRecords(Isolate* isolate) { |
+ ASSERT(isolate->observer_delivery_pending()); |
+ bool threw = false; |
+ Execution::Call( |
+ isolate->observers_deliver_changes(), |
+ isolate->factory()->undefined_value(), |
+ 0, |
+ NULL, |
+ &threw); |
+ ASSERT(!threw); |
+ isolate->set_observer_delivery_pending(false); |
+} |
+ |
+ |
MaybeObject* JSObject::SetPropertyPostInterceptor( |
String* name, |
Object* value, |