| Index: Source/bindings/core/v8/V8MutationCallback.cpp
|
| diff --git a/Source/bindings/core/v8/V8MutationCallback.cpp b/Source/bindings/core/v8/V8MutationCallback.cpp
|
| index 3da7b498b2ff7aee24eef6148afeb7153d931d31..48d7b1920b20b62b98dc8b157bbf310abd334282 100644
|
| --- a/Source/bindings/core/v8/V8MutationCallback.cpp
|
| +++ b/Source/bindings/core/v8/V8MutationCallback.cpp
|
| @@ -73,7 +73,10 @@ void V8MutationCallback::call(const WillBeHeapVector<RefPtrWillBeMember<Mutation
|
| return;
|
|
|
| v8::Local<v8::Object> thisObject = v8::Local<v8::Object>::Cast(observerHandle);
|
| - v8::Local<v8::Value> argv[] = { toV8(mutations, m_scriptState->context()->Global(), isolate), observerHandle };
|
| + v8::Local<v8::Value> v8Mutations = toV8(mutations, m_scriptState->context()->Global(), isolate);
|
| + if (v8Mutations.IsEmpty())
|
| + return;
|
| + v8::Local<v8::Value> argv[] = { v8Mutations, observerHandle };
|
|
|
| v8::TryCatch exceptionCatcher;
|
| exceptionCatcher.SetVerbose(true);
|
|
|