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

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

Issue 112383002: IDL compiler: sync Python to r163665 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New test results Created 7 years 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 static void implementsMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& i nfo) 556 static void implementsMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& i nfo)
557 { 557 {
558 ExceptionState exceptionState(ExceptionState::ExecutionContext, "implementsM ethod2", "TestInterface", info.Holder(), info.GetIsolate()); 558 ExceptionState exceptionState(ExceptionState::ExecutionContext, "implementsM ethod2", "TestInterface", info.Holder(), info.GetIsolate());
559 if (UNLIKELY(info.Length() < 2)) { 559 if (UNLIKELY(info.Length() < 2)) {
560 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, i nfo.Length())); 560 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, i nfo.Length()));
561 exceptionState.throwIfNeeded(); 561 exceptionState.throwIfNeeded();
562 return; 562 return;
563 } 563 }
564 TestInterface* imp = V8TestInterface::toNative(info.Holder()); 564 TestInterface* imp = V8TestInterface::toNative(info.Holder());
565 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, info[0]); 565 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, info[0]);
566 V8TRYCATCH_VOID(TestObj*, objArg, V8TestObject::hasInstance(info[1], info.Ge tIsolate(), worldType(info.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8 ::Object>::Cast(info[1])) : 0); 566 if (info.Length() <= 1 || !info[1]->IsFunction()) {
567 throwTypeError(ExceptionMessages::failedToExecute("implementsMethod2", " TestInterface", "The callback provided as parameter 2 is not a function."), info .GetIsolate());
568 return;
569 }
570 OwnPtr<TestObject> objArg = V8TestObject::create(v8::Handle<v8::Function>::C ast(info[1]), getExecutionContext());
567 ExecutionContext* scriptContext = getExecutionContext(); 571 ExecutionContext* scriptContext = getExecutionContext();
568 RefPtr<TestObj> result = TestImplements::implementsMethod2(scriptContext, im p, strArg, objArg, exceptionState); 572 RefPtr<TestObj> result = TestImplements::implementsMethod2(scriptContext, im p, strArg, objArg.release(), exceptionState);
569 if (exceptionState.throwIfNeeded()) 573 if (exceptionState.throwIfNeeded())
570 return; 574 return;
571 v8SetReturnValue(info, result.release()); 575 v8SetReturnValue(info, result.release());
572 } 576 }
573 577
574 static void implementsMethod2MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) 578 static void implementsMethod2MethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
575 { 579 {
576 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 580 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
577 TestInterfaceV8Internal::implementsMethod2Method(info); 581 TestInterfaceV8Internal::implementsMethod2Method(info);
578 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 582 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 static void supplementalMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& info) 622 static void supplementalMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& info)
619 { 623 {
620 ExceptionState exceptionState(ExceptionState::ExecutionContext, "supplementa lMethod2", "TestInterface", info.Holder(), info.GetIsolate()); 624 ExceptionState exceptionState(ExceptionState::ExecutionContext, "supplementa lMethod2", "TestInterface", info.Holder(), info.GetIsolate());
621 if (UNLIKELY(info.Length() < 2)) { 625 if (UNLIKELY(info.Length() < 2)) {
622 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, i nfo.Length())); 626 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, i nfo.Length()));
623 exceptionState.throwIfNeeded(); 627 exceptionState.throwIfNeeded();
624 return; 628 return;
625 } 629 }
626 TestInterface* imp = V8TestInterface::toNative(info.Holder()); 630 TestInterface* imp = V8TestInterface::toNative(info.Holder());
627 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, info[0]); 631 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, info[0]);
628 V8TRYCATCH_VOID(TestObj*, objArg, V8TestObject::hasInstance(info[1], info.Ge tIsolate(), worldType(info.GetIsolate())) ? V8TestObject::toNative(v8::Handle<v8 ::Object>::Cast(info[1])) : 0); 632 if (info.Length() <= 1 || !info[1]->IsFunction()) {
633 throwTypeError(ExceptionMessages::failedToExecute("supplementalMethod2", "TestInterface", "The callback provided as parameter 2 is not a function."), in fo.GetIsolate());
634 return;
635 }
636 OwnPtr<TestObject> objArg = V8TestObject::create(v8::Handle<v8::Function>::C ast(info[1]), getExecutionContext());
629 ExecutionContext* scriptContext = getExecutionContext(); 637 ExecutionContext* scriptContext = getExecutionContext();
630 RefPtr<TestObj> result = TestPartialInterface::supplementalMethod2(scriptCon text, imp, strArg, objArg, exceptionState); 638 RefPtr<TestObj> result = TestPartialInterface::supplementalMethod2(scriptCon text, imp, strArg, objArg.release(), exceptionState);
631 if (exceptionState.throwIfNeeded()) 639 if (exceptionState.throwIfNeeded())
632 return; 640 return;
633 v8SetReturnValue(info, result.release()); 641 v8SetReturnValue(info, result.release());
634 } 642 }
635 #endif // ENABLE(Condition11) || ENABLE(Condition12) 643 #endif // ENABLE(Condition11) || ENABLE(Condition12)
636 644
637 #if ENABLE(Condition11) || ENABLE(Condition12) 645 #if ENABLE(Condition11) || ENABLE(Condition12)
638 static void supplementalMethod2MethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& info) 646 static void supplementalMethod2MethodCallback(const v8::FunctionCallbackInfo<v8: :Value>& info)
639 { 647 {
640 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 648 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 #if ENABLE(Condition11) || ENABLE(Condition12) 811 #if ENABLE(Condition11) || ENABLE(Condition12)
804 {"supplementalStr3", TestInterfaceV8Internal::supplementalStr3AttributeGette rCallback, TestInterfaceV8Internal::supplementalStr3AttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */}, 812 {"supplementalStr3", TestInterfaceV8Internal::supplementalStr3AttributeGette rCallback, TestInterfaceV8Internal::supplementalStr3AttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
805 #endif // ENABLE(Condition11) || ENABLE(Condition12) 813 #endif // ENABLE(Condition11) || ENABLE(Condition12)
806 #if ENABLE(Condition11) || ENABLE(Condition12) 814 #if ENABLE(Condition11) || ENABLE(Condition12)
807 {"supplementalNode", TestInterfaceV8Internal::supplementalNodeAttributeGette rCallback, TestInterfaceV8Internal::supplementalNodeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */}, 815 {"supplementalNode", TestInterfaceV8Internal::supplementalNodeAttributeGette rCallback, TestInterfaceV8Internal::supplementalNodeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
808 #endif // ENABLE(Condition11) || ENABLE(Condition12) 816 #endif // ENABLE(Condition11) || ENABLE(Condition12)
809 }; 817 };
810 818
811 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { 819 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = {
812 {"implementsMethod1", TestInterfaceV8Internal::implementsMethod1MethodCallba ck, 0, 0}, 820 {"implementsMethod1", TestInterfaceV8Internal::implementsMethod1MethodCallba ck, 0, 0},
821 {"implementsMethod2", TestInterfaceV8Internal::implementsMethod2MethodCallba ck, 0, 2},
813 {"implementsMethod3", TestInterfaceV8Internal::implementsMethod3MethodCallba ck, 0, 0}, 822 {"implementsMethod3", TestInterfaceV8Internal::implementsMethod3MethodCallba ck, 0, 0},
814 #if ENABLE(Condition11) || ENABLE(Condition12) 823 #if ENABLE(Condition11) || ENABLE(Condition12)
815 {"supplementalMethod1", TestInterfaceV8Internal::supplementalMethod1MethodCa llback, 0, 0}, 824 {"supplementalMethod1", TestInterfaceV8Internal::supplementalMethod1MethodCa llback, 0, 0},
816 #endif // ENABLE(Condition11) || ENABLE(Condition12) 825 #endif // ENABLE(Condition11) || ENABLE(Condition12)
817 #if ENABLE(Condition11) || ENABLE(Condition12) 826 #if ENABLE(Condition11) || ENABLE(Condition12)
827 {"supplementalMethod2", TestInterfaceV8Internal::supplementalMethod2MethodCa llback, 0, 2},
828 #endif // ENABLE(Condition11) || ENABLE(Condition12)
829 #if ENABLE(Condition11) || ENABLE(Condition12)
818 {"supplementalMethod3", TestInterfaceV8Internal::supplementalMethod3MethodCa llback, 0, 0}, 830 {"supplementalMethod3", TestInterfaceV8Internal::supplementalMethod3MethodCa llback, 0, 0},
819 #endif // ENABLE(Condition11) || ENABLE(Condition12) 831 #endif // ENABLE(Condition11) || ENABLE(Condition12)
820 }; 832 };
821 833
822 void V8TestInterface::constructorCallback(const v8::FunctionCallbackInfo<v8::Val ue>& info) 834 void V8TestInterface::constructorCallback(const v8::FunctionCallbackInfo<v8::Val ue>& info)
823 { 835 {
824 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor"); 836 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor");
825 if (!info.IsConstructCall()) { 837 if (!info.IsConstructCall()) {
826 throwTypeError(ExceptionMessages::failedToConstruct("TestInterface", "Pl ease use the 'new' operator, this DOM object constructor cannot be called as a f unction."), info.GetIsolate()); 838 throwTypeError(ExceptionMessages::failedToConstruct("TestInterface", "Pl ease use the 'new' operator, this DOM object constructor cannot be called as a f unction."), info.GetIsolate());
827 return; 839 return;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 {"IMPLEMENTSCONSTANT2", 2}, 878 {"IMPLEMENTSCONSTANT2", 2},
867 {"SUPPLEMENTALCONSTANT1", 1}, 879 {"SUPPLEMENTALCONSTANT1", 1},
868 {"SUPPLEMENTALCONSTANT2", 2}, 880 {"SUPPLEMENTALCONSTANT2", 2},
869 }; 881 };
870 V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, V8 TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants), isolate); 882 V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, V8 TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants), isolate);
871 COMPILE_ASSERT(1 == TestImplements::IMPLEMENTSCONSTANT1, TheValueOfTestInter face_IMPLEMENTSCONSTANT1DoesntMatchWithImplementation); 883 COMPILE_ASSERT(1 == TestImplements::IMPLEMENTSCONSTANT1, TheValueOfTestInter face_IMPLEMENTSCONSTANT1DoesntMatchWithImplementation);
872 COMPILE_ASSERT(2 == TestImplements::CONST_IMPL, TheValueOfTestInterface_CONS T_IMPLDoesntMatchWithImplementation); 884 COMPILE_ASSERT(2 == TestImplements::CONST_IMPL, TheValueOfTestInterface_CONS T_IMPLDoesntMatchWithImplementation);
873 COMPILE_ASSERT(1 == TestPartialInterface::SUPPLEMENTALCONSTANT1, TheValueOfT estInterface_SUPPLEMENTALCONSTANT1DoesntMatchWithImplementation); 885 COMPILE_ASSERT(1 == TestPartialInterface::SUPPLEMENTALCONSTANT1, TheValueOfT estInterface_SUPPLEMENTALCONSTANT1DoesntMatchWithImplementation);
874 COMPILE_ASSERT(2 == TestPartialInterface::CONST_IMPL, TheValueOfTestInterfac e_CONST_IMPLDoesntMatchWithImplementation); 886 COMPILE_ASSERT(2 == TestPartialInterface::CONST_IMPL, TheValueOfTestInterfac e_CONST_IMPLDoesntMatchWithImplementation);
875 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterfaceV 8Internal::namedPropertyGetterCallback, TestInterfaceV8Internal::namedPropertySe tterCallback, TestInterfaceV8Internal::namedPropertyQueryCallback, 0, TestInterf aceV8Internal::namedPropertyEnumeratorCallback); 887 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterfaceV 8Internal::namedPropertyGetterCallback, TestInterfaceV8Internal::namedPropertySe tterCallback, TestInterfaceV8Internal::namedPropertyQueryCallback, 0, TestInterf aceV8Internal::namedPropertyEnumeratorCallback);
876
877 // Custom Signature 'implementsMethod2'
878 const int implementsMethod2Argc = 2;
879 v8::Handle<v8::FunctionTemplate> implementsMethod2Argv[implementsMethod2Argc ] = { v8::Handle<v8::FunctionTemplate>(), V8PerIsolateData::from(isolate)->rawDO MTemplate(&V8TestObject::wrapperTypeInfo, currentWorldType) };
880 v8::Handle<v8::Signature> implementsMethod2Signature = v8::Signature::New(is olate, functionTemplate, implementsMethod2Argc, implementsMethod2Argv);
881 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "implementsMethod2", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestInterf aceV8Internal::implementsMethod2MethodCallback, v8Undefined(), implementsMethod2 Signature, 2));
882 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "implementsMethod4", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestInterfa ceV8Internal::implementsMethod4MethodCallback, v8Undefined(), v8::Local<v8::Sign ature>(), 0)); 888 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "implementsMethod4", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestInterfa ceV8Internal::implementsMethod4MethodCallback, v8Undefined(), v8::Local<v8::Sign ature>(), 0));
883 #if ENABLE(Condition11) || ENABLE(Condition12) 889 #if ENABLE(Condition11) || ENABLE(Condition12)
884
885 // Custom Signature 'supplementalMethod2'
886 const int supplementalMethod2Argc = 2;
887 v8::Handle<v8::FunctionTemplate> supplementalMethod2Argv[supplementalMethod2 Argc] = { v8::Handle<v8::FunctionTemplate>(), V8PerIsolateData::from(isolate)->r awDOMTemplate(&V8TestObject::wrapperTypeInfo, currentWorldType) };
888 v8::Handle<v8::Signature> supplementalMethod2Signature = v8::Signature::New( isolate, functionTemplate, supplementalMethod2Argc, supplementalMethod2Argv);
889 prototypeTemplate->Set(v8::String::NewFromUtf8(isolate, "supplementalMethod2 ", v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestInte rfaceV8Internal::supplementalMethod2MethodCallback, v8Undefined(), supplementalM ethod2Signature, 2));
890 #endif // ENABLE(Condition11) || ENABLE(Condition12)
891 #if ENABLE(Condition11) || ENABLE(Condition12)
892 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "supplementalMethod4" , v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestInter faceV8Internal::supplementalMethod4MethodCallback, v8Undefined(), v8::Local<v8:: Signature>(), 0)); 890 functionTemplate->Set(v8::String::NewFromUtf8(isolate, "supplementalMethod4" , v8::String::kInternalizedString), v8::FunctionTemplate::New(isolate, TestInter faceV8Internal::supplementalMethod4MethodCallback, v8Undefined(), v8::Local<v8:: Signature>(), 0));
893 #endif // ENABLE(Condition11) || ENABLE(Condition12) 891 #endif // ENABLE(Condition11) || ENABLE(Condition12)
894 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "im plementsStaticReadOnlyAttr", v8::String::kInternalizedString), TestInterfaceV8In ternal::implementsStaticReadOnlyAttrAttributeGetterCallback, 0, v8::External::Ne w(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::Acce ssorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); 892 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "im plementsStaticReadOnlyAttr", v8::String::kInternalizedString), TestInterfaceV8In ternal::implementsStaticReadOnlyAttrAttributeGetterCallback, 0, v8::External::Ne w(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::Acce ssorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT));
895 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "im plementsStaticAttr", v8::String::kInternalizedString), TestInterfaceV8Internal:: implementsStaticAttrAttributeGetterCallback, TestInterfaceV8Internal::implements StaticAttrAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8 ::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast <v8::AccessControl>(v8::DEFAULT)); 893 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "im plementsStaticAttr", v8::String::kInternalizedString), TestInterfaceV8Internal:: implementsStaticAttrAttributeGetterCallback, TestInterfaceV8Internal::implements StaticAttrAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8 ::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast <v8::AccessControl>(v8::DEFAULT));
896 #if ENABLE(Condition11) || ENABLE(Condition12) 894 #if ENABLE(Condition11) || ENABLE(Condition12)
897 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "su pplementalStaticReadOnlyAttr", v8::String::kInternalizedString), TestInterfaceV8 Internal::supplementalStaticReadOnlyAttrAttributeGetterCallback, 0, v8::External ::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8:: AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); 895 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "su pplementalStaticReadOnlyAttr", v8::String::kInternalizedString), TestInterfaceV8 Internal::supplementalStaticReadOnlyAttrAttributeGetterCallback, 0, v8::External ::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8:: AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT));
898 #endif // ENABLE(Condition11) || ENABLE(Condition12) 896 #endif // ENABLE(Condition11) || ENABLE(Condition12)
899 #if ENABLE(Condition11) || ENABLE(Condition12) 897 #if ENABLE(Condition11) || ENABLE(Condition12)
900 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "su pplementalStaticAttr", v8::String::kInternalizedString), TestInterfaceV8Internal ::supplementalStaticAttrAttributeGetterCallback, TestInterfaceV8Internal::supple mentalStaticAttrAttributeSetterCallback, v8::External::New(isolate, 0), static_c ast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), stati c_cast<v8::AccessControl>(v8::DEFAULT)); 898 functionTemplate->SetNativeDataProperty(v8::String::NewFromUtf8(isolate, "su pplementalStaticAttr", v8::String::kInternalizedString), TestInterfaceV8Internal ::supplementalStaticAttrAttributeGetterCallback, TestInterfaceV8Internal::supple mentalStaticAttrAttributeSetterCallback, v8::External::New(isolate, 0), static_c ast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), stati c_cast<v8::AccessControl>(v8::DEFAULT));
901 #endif // ENABLE(Condition11) || ENABLE(Condition12) 899 #endif // ENABLE(Condition11) || ENABLE(Condition12)
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 } 981 }
984 982
985 template<> 983 template<>
986 v8::Handle<v8::Value> toV8NoInline(TestInterface* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate) 984 v8::Handle<v8::Value> toV8NoInline(TestInterface* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate)
987 { 985 {
988 return toV8(impl, creationContext, isolate); 986 return toV8(impl, creationContext, isolate);
989 } 987 }
990 988
991 } // namespace WebCore 989 } // namespace WebCore
992 #endif // ENABLE(Condition1) || ENABLE(Condition2) 990 #endif // ENABLE(Condition1) || ENABLE(Condition2)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestCallbackInterface.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698