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

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

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. 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 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 4807 matching lines...) Expand 10 before | Expand all | Expand 10 after
4818 return; 4818 return;
4819 } 4819 }
4820 if (((info.Length() == 2))) { 4820 if (((info.Length() == 2))) {
4821 overloadedMethodA2Method(info); 4821 overloadedMethodA2Method(info);
4822 return; 4822 return;
4823 } 4823 }
4824 if (UNLIKELY(info.Length() < 1)) { 4824 if (UNLIKELY(info.Length() < 1)) {
4825 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodA", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate()); 4825 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodA", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate());
4826 return; 4826 return;
4827 } 4827 }
4828 throwUninformativeAndGenericTypeError(info.GetIsolate()); 4828 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodA", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
4829 } 4829 }
4830 4830
4831 static void overloadedMethodAMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 4831 static void overloadedMethodAMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
4832 { 4832 {
4833 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4833 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4834 TestObjectPythonV8Internal::overloadedMethodAMethod(info); 4834 TestObjectPythonV8Internal::overloadedMethodAMethod(info);
4835 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4835 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4836 } 4836 }
4837 4837
4838 static void overloadedMethodB1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 4838 static void overloadedMethodB1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 30 matching lines...) Expand all
4869 return; 4869 return;
4870 } 4870 }
4871 if (((info.Length() == 1)) || ((info.Length() == 2))) { 4871 if (((info.Length() == 1)) || ((info.Length() == 2))) {
4872 overloadedMethodB2Method(info); 4872 overloadedMethodB2Method(info);
4873 return; 4873 return;
4874 } 4874 }
4875 if (UNLIKELY(info.Length() < 1)) { 4875 if (UNLIKELY(info.Length() < 1)) {
4876 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodB", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate()); 4876 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodB", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate());
4877 return; 4877 return;
4878 } 4878 }
4879 throwUninformativeAndGenericTypeError(info.GetIsolate()); 4879 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodB", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
4880 } 4880 }
4881 4881
4882 static void overloadedMethodBMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 4882 static void overloadedMethodBMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
4883 { 4883 {
4884 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4884 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4885 TestObjectPythonV8Internal::overloadedMethodBMethod(info); 4885 TestObjectPythonV8Internal::overloadedMethodBMethod(info);
4886 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4886 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4887 } 4887 }
4888 4888
4889 static void overloadedMethodC1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 4889 static void overloadedMethodC1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 26 matching lines...) Expand all
4916 return; 4916 return;
4917 } 4917 }
4918 if () { 4918 if () {
4919 overloadedMethodC2Method(info); 4919 overloadedMethodC2Method(info);
4920 return; 4920 return;
4921 } 4921 }
4922 if (UNLIKELY(info.Length() < 1)) { 4922 if (UNLIKELY(info.Length() < 1)) {
4923 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodC", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate()); 4923 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodC", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate());
4924 return; 4924 return;
4925 } 4925 }
4926 throwUninformativeAndGenericTypeError(info.GetIsolate()); 4926 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodC", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
4927 } 4927 }
4928 4928
4929 static void overloadedMethodCMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 4929 static void overloadedMethodCMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
4930 { 4930 {
4931 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4931 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4932 TestObjectPythonV8Internal::overloadedMethodCMethod(info); 4932 TestObjectPythonV8Internal::overloadedMethodCMethod(info);
4933 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4933 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4934 } 4934 }
4935 4935
4936 static void overloadedMethodD1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 4936 static void overloadedMethodD1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 25 matching lines...) Expand all
4962 return; 4962 return;
4963 } 4963 }
4964 if (((info.Length() == 1) && (V8TestInterfaceEmpty::hasInstance(info[0], inf o.GetIsolate(), worldType(info.GetIsolate()))))) { 4964 if (((info.Length() == 1) && (V8TestInterfaceEmpty::hasInstance(info[0], inf o.GetIsolate(), worldType(info.GetIsolate()))))) {
4965 overloadedMethodD2Method(info); 4965 overloadedMethodD2Method(info);
4966 return; 4966 return;
4967 } 4967 }
4968 if (UNLIKELY(info.Length() < 1)) { 4968 if (UNLIKELY(info.Length() < 1)) {
4969 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodD", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate()); 4969 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodD", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate());
4970 return; 4970 return;
4971 } 4971 }
4972 throwUninformativeAndGenericTypeError(info.GetIsolate()); 4972 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodD", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
4973 } 4973 }
4974 4974
4975 static void overloadedMethodDMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 4975 static void overloadedMethodDMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
4976 { 4976 {
4977 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 4977 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
4978 TestObjectPythonV8Internal::overloadedMethodDMethod(info); 4978 TestObjectPythonV8Internal::overloadedMethodDMethod(info);
4979 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 4979 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
4980 } 4980 }
4981 4981
4982 static void overloadedMethodE1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 4982 static void overloadedMethodE1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 25 matching lines...) Expand all
5008 return; 5008 return;
5009 } 5009 }
5010 if (((info.Length() == 1) && (info[0]->IsArray()))) { 5010 if (((info.Length() == 1) && (info[0]->IsArray()))) {
5011 overloadedMethodE2Method(info); 5011 overloadedMethodE2Method(info);
5012 return; 5012 return;
5013 } 5013 }
5014 if (UNLIKELY(info.Length() < 1)) { 5014 if (UNLIKELY(info.Length() < 1)) {
5015 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodE", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate()); 5015 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodE", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate());
5016 return; 5016 return;
5017 } 5017 }
5018 throwUninformativeAndGenericTypeError(info.GetIsolate()); 5018 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodE", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
5019 } 5019 }
5020 5020
5021 static void overloadedMethodEMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 5021 static void overloadedMethodEMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
5022 { 5022 {
5023 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5023 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5024 TestObjectPythonV8Internal::overloadedMethodEMethod(info); 5024 TestObjectPythonV8Internal::overloadedMethodEMethod(info);
5025 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5025 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5026 } 5026 }
5027 5027
5028 static void overloadedMethodF1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 5028 static void overloadedMethodF1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 25 matching lines...) Expand all
5054 return; 5054 return;
5055 } 5055 }
5056 if (((info.Length() == 1) && (info[0]->IsNull() || V8TestInterfaceEmpty::has Instance(info[0], info.GetIsolate(), worldType(info.GetIsolate()))))) { 5056 if (((info.Length() == 1) && (info[0]->IsNull() || V8TestInterfaceEmpty::has Instance(info[0], info.GetIsolate(), worldType(info.GetIsolate()))))) {
5057 overloadedMethodF2Method(info); 5057 overloadedMethodF2Method(info);
5058 return; 5058 return;
5059 } 5059 }
5060 if (UNLIKELY(info.Length() < 1)) { 5060 if (UNLIKELY(info.Length() < 1)) {
5061 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodF", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate()); 5061 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodF", " TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), inf o.GetIsolate());
5062 return; 5062 return;
5063 } 5063 }
5064 throwUninformativeAndGenericTypeError(info.GetIsolate()); 5064 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodF", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
5065 } 5065 }
5066 5066
5067 static void overloadedMethodFMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 5067 static void overloadedMethodFMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
5068 { 5068 {
5069 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5069 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5070 TestObjectPythonV8Internal::overloadedMethodFMethod(info); 5070 TestObjectPythonV8Internal::overloadedMethodFMethod(info);
5071 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5071 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5072 } 5072 }
5073 5073
5074 static void overloadedMethodG1Method(const v8::FunctionCallbackInfo<v8::Value>& info) 5074 static void overloadedMethodG1Method(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 16 matching lines...) Expand all
5091 static void overloadedMethodGMethod(const v8::FunctionCallbackInfo<v8::Value>& i nfo) 5091 static void overloadedMethodGMethod(const v8::FunctionCallbackInfo<v8::Value>& i nfo)
5092 { 5092 {
5093 if (((info.Length() == 0))) { 5093 if (((info.Length() == 0))) {
5094 overloadedMethodG1Method(info); 5094 overloadedMethodG1Method(info);
5095 return; 5095 return;
5096 } 5096 }
5097 if (((info.Length() == 1) && (info[0]->IsNull() || info[0]->IsUndefined() || info[0]->IsString() || info[0]->IsObject()))) { 5097 if (((info.Length() == 1) && (info[0]->IsNull() || info[0]->IsUndefined() || info[0]->IsString() || info[0]->IsObject()))) {
5098 overloadedMethodG2Method(info); 5098 overloadedMethodG2Method(info);
5099 return; 5099 return;
5100 } 5100 }
5101 throwUninformativeAndGenericTypeError(info.GetIsolate()); 5101 throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodG", "Test ObjectPython", "No function was found that matched the signature provided."), in fo.GetIsolate());
5102 } 5102 }
5103 5103
5104 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 5104 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
5105 { 5105 {
5106 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5106 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5107 TestObjectPythonV8Internal::overloadedMethodGMethod(info); 5107 TestObjectPythonV8Internal::overloadedMethodGMethod(info);
5108 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5108 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5109 } 5109 }
5110 5110
5111 static void overloadedPerWorldBindingsMethod1Method(const v8::FunctionCallbackIn fo<v8::Value>& info) 5111 static void overloadedPerWorldBindingsMethod1Method(const v8::FunctionCallbackIn fo<v8::Value>& info)
(...skipping 22 matching lines...) Expand all
5134 static void overloadedPerWorldBindingsMethodMethod(const v8::FunctionCallbackInf o<v8::Value>& info) 5134 static void overloadedPerWorldBindingsMethodMethod(const v8::FunctionCallbackInf o<v8::Value>& info)
5135 { 5135 {
5136 if (((info.Length() == 0))) { 5136 if (((info.Length() == 0))) {
5137 overloadedPerWorldBindingsMethod1Method(info); 5137 overloadedPerWorldBindingsMethod1Method(info);
5138 return; 5138 return;
5139 } 5139 }
5140 if (((info.Length() == 1))) { 5140 if (((info.Length() == 1))) {
5141 overloadedPerWorldBindingsMethod2Method(info); 5141 overloadedPerWorldBindingsMethod2Method(info);
5142 return; 5142 return;
5143 } 5143 }
5144 throwUninformativeAndGenericTypeError(info.GetIsolate()); 5144 throwTypeError(ExceptionMessages::failedToExecute("overloadedPerWorldBinding sMethod", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
5145 } 5145 }
5146 5146
5147 static void overloadedPerWorldBindingsMethodMethodCallback(const v8::FunctionCal lbackInfo<v8::Value>& info) 5147 static void overloadedPerWorldBindingsMethodMethodCallback(const v8::FunctionCal lbackInfo<v8::Value>& info)
5148 { 5148 {
5149 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5149 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5150 TestObjectPythonV8Internal::overloadedPerWorldBindingsMethodMethod(info); 5150 TestObjectPythonV8Internal::overloadedPerWorldBindingsMethodMethod(info);
5151 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5151 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5152 } 5152 }
5153 5153
5154 static void overloadedPerWorldBindingsMethod2MethodForMainWorld(const v8::Functi onCallbackInfo<v8::Value>& info) 5154 static void overloadedPerWorldBindingsMethod2MethodForMainWorld(const v8::Functi onCallbackInfo<v8::Value>& info)
(...skipping 10 matching lines...) Expand all
5165 static void overloadedPerWorldBindingsMethodMethodForMainWorld(const v8::Functio nCallbackInfo<v8::Value>& info) 5165 static void overloadedPerWorldBindingsMethodMethodForMainWorld(const v8::Functio nCallbackInfo<v8::Value>& info)
5166 { 5166 {
5167 if (((info.Length() == 0))) { 5167 if (((info.Length() == 0))) {
5168 overloadedPerWorldBindingsMethod1MethodForMainWorld(info); 5168 overloadedPerWorldBindingsMethod1MethodForMainWorld(info);
5169 return; 5169 return;
5170 } 5170 }
5171 if (((info.Length() == 1))) { 5171 if (((info.Length() == 1))) {
5172 overloadedPerWorldBindingsMethod2MethodForMainWorld(info); 5172 overloadedPerWorldBindingsMethod2MethodForMainWorld(info);
5173 return; 5173 return;
5174 } 5174 }
5175 throwUninformativeAndGenericTypeError(info.GetIsolate()); 5175 throwTypeError(ExceptionMessages::failedToExecute("overloadedPerWorldBinding sMethod", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
5176 } 5176 }
5177 5177
5178 static void overloadedPerWorldBindingsMethodMethodCallbackForMainWorld(const v8: :FunctionCallbackInfo<v8::Value>& info) 5178 static void overloadedPerWorldBindingsMethodMethodCallbackForMainWorld(const v8: :FunctionCallbackInfo<v8::Value>& info)
5179 { 5179 {
5180 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5180 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5181 TestObjectPythonV8Internal::overloadedPerWorldBindingsMethodMethodForMainWor ld(info); 5181 TestObjectPythonV8Internal::overloadedPerWorldBindingsMethodMethodForMainWor ld(info);
5182 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5182 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5183 } 5183 }
5184 5184
5185 static void overloadedStaticMethod1Method(const v8::FunctionCallbackInfo<v8::Val ue>& info) 5185 static void overloadedStaticMethod1Method(const v8::FunctionCallbackInfo<v8::Val ue>& info)
(...skipping 24 matching lines...) Expand all
5210 return; 5210 return;
5211 } 5211 }
5212 if (((info.Length() == 2))) { 5212 if (((info.Length() == 2))) {
5213 overloadedStaticMethod2Method(info); 5213 overloadedStaticMethod2Method(info);
5214 return; 5214 return;
5215 } 5215 }
5216 if (UNLIKELY(info.Length() < 1)) { 5216 if (UNLIKELY(info.Length() < 1)) {
5217 throwTypeError(ExceptionMessages::failedToExecute("overloadedStaticMetho d", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())) , info.GetIsolate()); 5217 throwTypeError(ExceptionMessages::failedToExecute("overloadedStaticMetho d", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())) , info.GetIsolate());
5218 return; 5218 return;
5219 } 5219 }
5220 throwUninformativeAndGenericTypeError(info.GetIsolate()); 5220 throwTypeError(ExceptionMessages::failedToExecute("overloadedStaticMethod", "TestObjectPython", "No function was found that matched the signature provided." ), info.GetIsolate());
5221 } 5221 }
5222 5222
5223 static void overloadedStaticMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info) 5223 static void overloadedStaticMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info)
5224 { 5224 {
5225 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 5225 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
5226 TestObjectPythonV8Internal::overloadedStaticMethodMethod(info); 5226 TestObjectPythonV8Internal::overloadedStaticMethodMethod(info);
5227 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 5227 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
5228 } 5228 }
5229 5229
5230 static void addEventListenerMethod(const v8::FunctionCallbackInfo<v8::Value>& in fo) 5230 static void addEventListenerMethod(const v8::FunctionCallbackInfo<v8::Value>& in fo)
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
6586 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 6586 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
6587 return wrapper; 6587 return wrapper;
6588 } 6588 }
6589 6589
6590 void V8TestObjectPython::derefObject(void* object) 6590 void V8TestObjectPython::derefObject(void* object)
6591 { 6591 {
6592 fromInternalPointer(object)->deref(); 6592 fromInternalPointer(object)->deref();
6593 } 6593 }
6594 6594
6595 } // namespace WebCore 6595 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/bindings/tests/results/V8TestOverloadedConstructors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698