Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: Source/bindings/tests/results/V8TestTypedefs.cpp

Issue 50073004: We don't need to pass |creationContext| to v8SetReturnValue family (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 static void funcWithClampMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& args) 372 static void funcWithClampMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& args)
373 { 373 {
374 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 374 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
375 TestTypedefsV8Internal::funcWithClampMethod(args); 375 TestTypedefsV8Internal::funcWithClampMethod(args);
376 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 376 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
377 } 377 }
378 378
379 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu e>& args) 379 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu e>& args)
380 { 380 {
381 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); 381 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
382 v8SetReturnValue(args, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(imp- >immutablePointFunction())), args.Holder()); 382 v8SetReturnValue(args, WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(imp- >immutablePointFunction())));
383 } 383 }
384 384
385 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& args) 385 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& args)
386 { 386 {
387 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 387 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
388 TestTypedefsV8Internal::immutablePointFunctionMethod(args); 388 TestTypedefsV8Internal::immutablePointFunctionMethod(args);
389 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 389 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
390 } 390 }
391 391
392 static void stringArrayFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& args) 392 static void stringArrayFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &wrapperTypeI nfo, wrapper, isolate, WrapperConfiguration::Independent); 576 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &wrapperTypeI nfo, wrapper, isolate, WrapperConfiguration::Independent);
577 return wrapper; 577 return wrapper;
578 } 578 }
579 579
580 void V8TestTypedefs::derefObject(void* object) 580 void V8TestTypedefs::derefObject(void* object)
581 { 581 {
582 fromInternalPointer(object)->deref(); 582 fromInternalPointer(object)->deref();
583 } 583 }
584 584
585 } // namespace WebCore 585 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.h ('k') | Source/bindings/v8/custom/V8ArrayBufferCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698