| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| index 49a8b3a0525a17b44e08c4c02fe52e56bc6c3076..827478fad40e6cccfce422e2762741a2d183cc15 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| @@ -46,14 +46,12 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va
|
| ExceptionState exceptionState(ExceptionState::ConstructionContext, "MutationObserver", info.Holder(), info.GetIsolate());
|
| if (info.Length() < 1) {
|
| exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| - exceptionState.throwIfNeeded();
|
| return;
|
| }
|
|
|
| v8::Local<v8::Value> arg = info[0];
|
| if (!arg->IsFunction()) {
|
| exceptionState.throwTypeError("Callback argument must be a function");
|
| - exceptionState.throwIfNeeded();
|
| return;
|
| }
|
|
|
|
|