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

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

Issue 48003002: IDL compiler: remove blank line for void methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 static void anotherFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& arg s) 64 static void anotherFunctionMethod(const v8::FunctionCallbackInfo<v8::Value>& arg s)
65 { 65 {
66 if (UNLIKELY(args.Length() < 1)) { 66 if (UNLIKELY(args.Length() < 1)) {
67 throwTypeError(ExceptionMessages::failedToExecute("anotherFunction", "Te stCustomAccessors", ExceptionMessages::notEnoughArguments(1, args.Length())), ar gs.GetIsolate()); 67 throwTypeError(ExceptionMessages::failedToExecute("anotherFunction", "Te stCustomAccessors", ExceptionMessages::notEnoughArguments(1, args.Length())), ar gs.GetIsolate());
68 return; 68 return;
69 } 69 }
70 TestCustomAccessors* imp = V8TestCustomAccessors::toNative(args.Holder()); 70 TestCustomAccessors* imp = V8TestCustomAccessors::toNative(args.Holder());
71 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, str, args[0]); 71 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, str, args[0]);
72 imp->anotherFunction(str); 72 imp->anotherFunction(str);
73
74 return; 73 return;
75 } 74 }
76 75
77 static void anotherFunctionMethodCallback(const v8::FunctionCallbackInfo<v8::Val ue>& args) 76 static void anotherFunctionMethodCallback(const v8::FunctionCallbackInfo<v8::Val ue>& args)
78 { 77 {
79 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 78 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
80 TestCustomAccessorsV8Internal::anotherFunctionMethod(args); 79 TestCustomAccessorsV8Internal::anotherFunctionMethod(args);
81 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 80 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
82 } 81 }
83 82
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 V8DOMWrapper::associateObjectWithWrapper<V8TestCustomAccessors>(impl, &wrapp erTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 209 V8DOMWrapper::associateObjectWithWrapper<V8TestCustomAccessors>(impl, &wrapp erTypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
211 return wrapper; 210 return wrapper;
212 } 211 }
213 212
214 void V8TestCustomAccessors::derefObject(void* object) 213 void V8TestCustomAccessors::derefObject(void* object)
215 { 214 {
216 fromInternalPointer(object)->deref(); 215 fromInternalPointer(object)->deref();
217 } 216 }
218 217
219 } // namespace WebCore 218 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestActiveDOMObject.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698