| Index: Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp b/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| index 8a8124ebd9dfae12e7bff9250743fe47637a11a9..ab7231d26ef1c344c5be2c918c281a2bda62e3fa 100644
|
| --- a/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| +++ b/Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
| @@ -62,21 +62,21 @@ namespace TestMediaQueryListListenerV8Internal {
|
|
|
| template <typename T> void V8_USE(T) { }
|
|
|
| -static void methodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +static void methodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| - if (UNLIKELY(args.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("method", "TestMediaQueryListListener", ExceptionMessages::notEnoughArguments(1, args.Length())), args.GetIsolate());
|
| + if (UNLIKELY(info.Length() < 1)) {
|
| + throwTypeError(ExceptionMessages::failedToExecute("method", "TestMediaQueryListListener", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| return;
|
| }
|
| - TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(args.Holder());
|
| - V8TRYCATCH_VOID(RefPtr<MediaQueryListListener>, listener, MediaQueryListListener::create(ScriptValue(args[0], args.GetIsolate())));
|
| + TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(info.Holder());
|
| + V8TRYCATCH_VOID(RefPtr<MediaQueryListListener>, listener, MediaQueryListListener::create(ScriptValue(info[0], info.GetIsolate())));
|
| imp->method(listener);
|
| }
|
|
|
| -static void methodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +static void methodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
|
| - TestMediaQueryListListenerV8Internal::methodMethod(args);
|
| + TestMediaQueryListListenerV8Internal::methodMethod(info);
|
| TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
|
| }
|
|
|
|
|