| Index: Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp b/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| index 80706ecbaf4d1345f149a2233ff09b17e1fd4bae..9d4c8f3c3c435708ac49373ef8b7b3502bb6bdfa 100644
|
| --- a/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| +++ b/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| @@ -22,6 +22,7 @@
|
| #include "V8TestMediaQueryListListener.h"
|
|
|
| #include "RuntimeEnabledFeatures.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/V8Binding.h"
|
| @@ -64,7 +65,7 @@ template <typename T> void V8_USE(T) { }
|
| static void methodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (UNLIKELY(args.Length() < 1)) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("method", "TestMediaQueryListListener", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| return;
|
| }
|
| TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(args.Holder());
|
|
|