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

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

Issue 176963017: Remove WrapperWorldType from V8 binding (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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 5493 matching lines...) Expand 10 before | Expand all | Expand 10 after
5504 {"variadicNodeMethod", TestObjectV8Internal::variadicNodeMethodMethodCallbac k, 0, 2}, 5504 {"variadicNodeMethod", TestObjectV8Internal::variadicNodeMethodMethodCallbac k, 0, 2},
5505 {"perWorldMethod", TestObjectV8Internal::perWorldMethodMethodCallback, TestO bjectV8Internal::perWorldMethodMethodCallbackForMainWorld, 0}, 5505 {"perWorldMethod", TestObjectV8Internal::perWorldMethodMethodCallback, TestO bjectV8Internal::perWorldMethodMethodCallbackForMainWorld, 0},
5506 {"overloadedPerWorldMethod", TestObjectV8Internal::overloadedPerWorldMethodM ethodCallback, TestObjectV8Internal::overloadedPerWorldMethodMethodCallbackForMa inWorld, 1}, 5506 {"overloadedPerWorldMethod", TestObjectV8Internal::overloadedPerWorldMethodM ethodCallback, TestObjectV8Internal::overloadedPerWorldMethodMethodCallbackForMa inWorld, 1},
5507 {"activityLoggedMethod1", TestObjectV8Internal::activityLoggedMethod1MethodC allback, 0, 1}, 5507 {"activityLoggedMethod1", TestObjectV8Internal::activityLoggedMethod1MethodC allback, 0, 1},
5508 {"activityLoggedMethod2", TestObjectV8Internal::activityLoggedMethod2MethodC allback, TestObjectV8Internal::activityLoggedMethod2MethodCallbackForMainWorld, 1}, 5508 {"activityLoggedMethod2", TestObjectV8Internal::activityLoggedMethod2MethodC allback, TestObjectV8Internal::activityLoggedMethod2MethodCallbackForMainWorld, 1},
5509 {"activityLoggedInIsolatedWorldMethod", TestObjectV8Internal::activityLogged InIsolatedWorldMethodMethodCallback, TestObjectV8Internal::activityLoggedInIsola tedWorldMethodMethodCallbackForMainWorld, 1}, 5509 {"activityLoggedInIsolatedWorldMethod", TestObjectV8Internal::activityLogged InIsolatedWorldMethodMethodCallback, TestObjectV8Internal::activityLoggedInIsola tedWorldMethodMethodCallbackForMainWorld, 1},
5510 {"overloadedActivityLoggedMethod", TestObjectV8Internal::overloadedActivityL oggedMethodMethodCallback, TestObjectV8Internal::overloadedActivityLoggedMethodM ethodCallbackForMainWorld, 1}, 5510 {"overloadedActivityLoggedMethod", TestObjectV8Internal::overloadedActivityL oggedMethodMethodCallback, TestObjectV8Internal::overloadedActivityLoggedMethodM ethodCallbackForMainWorld, 1},
5511 {"deprecatedMethod", TestObjectV8Internal::deprecatedMethodMethodCallback, 0 , 0}, 5511 {"deprecatedMethod", TestObjectV8Internal::deprecatedMethodMethodCallback, 0 , 0},
5512 }; 5512 };
5513 5513
5514 static void configureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> funct ionTemplate, v8::Isolate* isolate, WrapperWorldType currentWorldType) 5514 static void configureV8TestObjectTemplate(v8::Handle<v8::FunctionTemplate> funct ionTemplate, v8::Isolate* isolate)
5515 { 5515 {
5516 functionTemplate->ReadOnlyPrototype(); 5516 functionTemplate->ReadOnlyPrototype();
5517 5517
5518 v8::Local<v8::Signature> defaultSignature; 5518 v8::Local<v8::Signature> defaultSignature;
5519 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestObject", V8EventTarget::domTemplate(isolate, currentWorldType), V8Test Object::internalFieldCount, 5519 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestObject", V8EventTarget::domTemplate(isolate), V8TestObject::internalFi eldCount,
5520 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes), 5520 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes),
5521 V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors), 5521 V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors),
5522 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods), 5522 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods),
5523 isolate, currentWorldType); 5523 isolate);
5524 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED instanceTemplate = functionTempla te->InstanceTemplate(); 5524 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED instanceTemplate = functionTempla te->InstanceTemplate();
5525 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED prototypeTemplate = functionTempl ate->PrototypeTemplate(); 5525 v8::Local<v8::ObjectTemplate> ALLOW_UNUSED prototypeTemplate = functionTempl ate->PrototypeTemplate();
5526 if (RuntimeEnabledFeatures::featureNameEnabled()) { 5526 if (RuntimeEnabledFeatures::featureNameEnabled()) {
5527 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 5527 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
5528 {"enabledAtRuntimeAttr", TestObjectV8Internal::enabledAtRuntimeAttrAttri buteGetterCallback, TestObjectV8Internal::enabledAtRuntimeAttrAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), 0 /* on instance */}; 5528 {"enabledAtRuntimeAttr", TestObjectV8Internal::enabledAtRuntimeAttrAttri buteGetterCallback, TestObjectV8Internal::enabledAtRuntimeAttrAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), 0 /* on instance */};
5529 V8DOMConfiguration::installAttribute(instanceTemplate, prototypeTemplate , attributeConfiguration, isolate, currentWorldType); 5529 V8DOMConfiguration::installAttribute(instanceTemplate, prototypeTemplate , attributeConfiguration, isolate);
5530 } 5530 }
5531 static const V8DOMConfiguration::ConstantConfiguration V8TestObjectConstants [] = { 5531 static const V8DOMConfiguration::ConstantConfiguration V8TestObjectConstants [] = {
5532 {"DEPRECATED_CONSTANT", 1}, 5532 {"DEPRECATED_CONSTANT", 1},
5533 }; 5533 };
5534 V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, V8 TestObjectConstants, WTF_ARRAY_LENGTH(V8TestObjectConstants), isolate); 5534 V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, V8 TestObjectConstants, WTF_ARRAY_LENGTH(V8TestObjectConstants), isolate);
5535 COMPILE_ASSERT(1 == TestObject::DEPRECATED_CONSTANT, TheValueOfTestObject_DE PRECATED_CONSTANTDoesntMatchWithImplementation); 5535 COMPILE_ASSERT(1 == TestObject::DEPRECATED_CONSTANT, TheValueOfTestObject_DE PRECATED_CONSTANTDoesntMatchWithImplementation);
5536 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestObjectV8 Internal::indexedPropertyGetterCallback, 0, 0, 0, indexedPropertyEnumerator<Test Object>); 5536 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestObjectV8 Internal::indexedPropertyGetterCallback, 0, 0, 0, indexedPropertyEnumerator<Test Object>);
5537 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestObjectV8In ternal::namedPropertyGetterCallback, 0, TestObjectV8Internal::namedPropertyQuery Callback, 0, TestObjectV8Internal::namedPropertyEnumeratorCallback); 5537 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestObjectV8In ternal::namedPropertyGetterCallback, 0, TestObjectV8Internal::namedPropertyQuery Callback, 0, TestObjectV8Internal::namedPropertyEnumeratorCallback);
5538 functionTemplate->Set(v8AtomicString(isolate, "staticMethodWithCallbackAndOp tionalArg"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::staticMeth odWithCallbackAndOptionalArgMethodCallback, v8Undefined(), v8::Local<v8::Signatu re>(), 0)); 5538 functionTemplate->Set(v8AtomicString(isolate, "staticMethodWithCallbackAndOp tionalArg"), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::staticMeth odWithCallbackAndOptionalArgMethodCallback, v8Undefined(), v8::Local<v8::Signatu re>(), 0));
5539 functionTemplate->Set(v8AtomicString(isolate, "staticMethodWithCallbackArg") , v8::FunctionTemplate::New(isolate, TestObjectV8Internal::staticMethodWithCallb ackArgMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 1)); 5539 functionTemplate->Set(v8AtomicString(isolate, "staticMethodWithCallbackArg") , v8::FunctionTemplate::New(isolate, TestObjectV8Internal::staticMethodWithCallb ackArgMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 1));
5540 functionTemplate->Set(v8AtomicString(isolate, "classMethod"), v8::FunctionTe mplate::New(isolate, TestObjectV8Internal::classMethodMethodCallback, v8Undefine d(), v8::Local<v8::Signature>(), 0)); 5540 functionTemplate->Set(v8AtomicString(isolate, "classMethod"), v8::FunctionTe mplate::New(isolate, TestObjectV8Internal::classMethodMethodCallback, v8Undefine d(), v8::Local<v8::Signature>(), 0));
5541 functionTemplate->Set(v8AtomicString(isolate, "classMethodWithOptional"), v8 ::FunctionTemplate::New(isolate, TestObjectV8Internal::classMethodWithOptionalMe thodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); 5541 functionTemplate->Set(v8AtomicString(isolate, "classMethodWithOptional"), v8 ::FunctionTemplate::New(isolate, TestObjectV8Internal::classMethodWithOptionalMe thodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0));
5542 functionTemplate->Set(v8AtomicString(isolate, "classMethod2"), v8::FunctionT emplate::New(isolate, TestObjectV8Internal::classMethod2MethodCallback, v8Undefi ned(), v8::Local<v8::Signature>(), 1)); 5542 functionTemplate->Set(v8AtomicString(isolate, "classMethod2"), v8::FunctionT emplate::New(isolate, TestObjectV8Internal::classMethod2MethodCallback, v8Undefi ned(), v8::Local<v8::Signature>(), 1));
5543 if (RuntimeEnabledFeatures::featureNameEnabled()) 5543 if (RuntimeEnabledFeatures::featureNameEnabled())
5544 prototypeTemplate->Set(v8AtomicString(isolate, "enabledAtRuntimeMethod") , v8::FunctionTemplate::New(isolate, TestObjectV8Internal::enabledAtRuntimeMetho dMethodCallback, v8Undefined(), defaultSignature, 1)); 5544 prototypeTemplate->Set(v8AtomicString(isolate, "enabledAtRuntimeMethod") , v8::FunctionTemplate::New(isolate, TestObjectV8Internal::enabledAtRuntimeMetho dMethodCallback, v8Undefined(), defaultSignature, 1));
5545 functionTemplate->Set(v8AtomicString(isolate, "deprecatedStaticMethod"), v8: :FunctionTemplate::New(isolate, TestObjectV8Internal::deprecatedStaticMethodMeth odCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); 5545 functionTemplate->Set(v8AtomicString(isolate, "deprecatedStaticMethod"), v8: :FunctionTemplate::New(isolate, TestObjectV8Internal::deprecatedStaticMethodMeth odCallback, v8Undefined(), v8::Local<v8::Signature>(), 0));
5546 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticReadO nlyLongAttr"), TestObjectV8Internal::staticReadOnlyLongAttrAttributeGetterCallba ck, 0, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::Non e), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFA ULT)); 5546 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticReadO nlyLongAttr"), TestObjectV8Internal::staticReadOnlyLongAttrAttributeGetterCallba ck, 0, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::Non e), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFA ULT));
5547 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin gAttr"), TestObjectV8Internal::staticStringAttrAttributeGetterCallback, TestObje ctV8Internal::staticStringAttrAttributeSetterCallback, v8::External::New(isolate , 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSigna ture>(), static_cast<v8::AccessControl>(v8::DEFAULT)); 5547 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin gAttr"), TestObjectV8Internal::staticStringAttrAttributeGetterCallback, TestObje ctV8Internal::staticStringAttrAttributeSetterCallback, v8::External::New(isolate , 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSigna ture>(), static_cast<v8::AccessControl>(v8::DEFAULT));
5548 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "deprecatedS taticReadOnlyAttr"), TestObjectV8Internal::deprecatedStaticReadOnlyAttrAttribute GetterCallback, 0, v8::External::New(isolate, 0), static_cast<v8::PropertyAttrib ute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessContr ol>(v8::DEFAULT)); 5548 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "deprecatedS taticReadOnlyAttr"), TestObjectV8Internal::deprecatedStaticReadOnlyAttrAttribute GetterCallback, 0, v8::External::New(isolate, 0), static_cast<v8::PropertyAttrib ute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessContr ol>(v8::DEFAULT));
5549 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "deprecatedS taticAttr"), TestObjectV8Internal::deprecatedStaticAttrAttributeGetterCallback, TestObjectV8Internal::deprecatedStaticAttrAttributeSetterCallback, v8::External: :New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::A ccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); 5549 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "deprecatedS taticAttr"), TestObjectV8Internal::deprecatedStaticAttrAttributeGetterCallback, TestObjectV8Internal::deprecatedStaticAttrAttributeSetterCallback, v8::External: :New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::A ccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT));
5550 5550
5551 // Custom toString template 5551 // Custom toString template
5552 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :current()->toStringTemplate()); 5552 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :current()->toStringTemplate());
5553 } 5553 }
5554 5554
5555 v8::Handle<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType) 5555 v8::Handle<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate)
5556 { 5556 {
5557 V8PerIsolateData* data = V8PerIsolateData::from(isolate); 5557 V8PerIsolateData* data = V8PerIsolateData::from(isolate);
5558 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo rldType).find(&wrapperTypeInfo); 5558 V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&w rapperTypeInfo);
5559 if (result != data->templateMap(currentWorldType).end()) 5559 if (result != data->templateMap().end())
5560 return result->value.newLocal(isolate); 5560 return result->value.newLocal(isolate);
5561 5561
5562 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 5562 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
5563 v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate, V 8ObjectConstructor::isValidConstructorMode); 5563 v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate, V 8ObjectConstructor::isValidConstructorMode);
5564 configureV8TestObjectTemplate(templ, isolate, currentWorldType); 5564 configureV8TestObjectTemplate(templ, isolate);
5565 data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v 8::FunctionTemplate>(isolate, templ)); 5565 data->templateMap().add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTempl ate>(isolate, templ));
5566 return templ; 5566 return templ;
5567 } 5567 }
5568 5568
5569 bool V8TestObject::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isolate* isola te) 5569 bool V8TestObject::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isolate* isola te)
5570 { 5570 {
5571 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 5571 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e);
5572 } 5572 }
5573 5573
5574 v8::Handle<v8::Object> V8TestObject::findInstanceInPrototypeChain(v8::Handle<v8: :Value> jsValue, v8::Isolate* isolate) 5574 v8::Handle<v8::Object> V8TestObject::findInstanceInPrototypeChain(v8::Handle<v8: :Value> jsValue, v8::Isolate* isolate)
5575 { 5575 {
(...skipping 10 matching lines...) Expand all
5586 v8::Local<v8::Object> prototypeTemplate = v8::Local<v8::Object>::Cast(instan ceTemplate->GetPrototype()); 5586 v8::Local<v8::Object> prototypeTemplate = v8::Local<v8::Object>::Cast(instan ceTemplate->GetPrototype());
5587 if (ContextFeatures::featureNameEnabled(impl->document())) { 5587 if (ContextFeatures::featureNameEnabled(impl->document())) {
5588 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 5588 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
5589 {"enabledPerContextAttr", TestObjectV8Internal::enabledPerContextAttrAtt ributeGetterCallback, TestObjectV8Internal::enabledPerContextAttrAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), 0 /* on instance */}; 5589 {"enabledPerContextAttr", TestObjectV8Internal::enabledPerContextAttrAtt ributeGetterCallback, TestObjectV8Internal::enabledPerContextAttrAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), 0 /* on instance */};
5590 V8DOMConfiguration::installAttribute(instanceTemplate, prototypeTemplate , attributeConfiguration, isolate); 5590 V8DOMConfiguration::installAttribute(instanceTemplate, prototypeTemplate , attributeConfiguration, isolate);
5591 } 5591 }
5592 } 5592 }
5593 5593
5594 void V8TestObject::installPerContextEnabledMethods(v8::Handle<v8::Object> protot ypeTemplate, v8::Isolate* isolate) 5594 void V8TestObject::installPerContextEnabledMethods(v8::Handle<v8::Object> protot ypeTemplate, v8::Isolate* isolate)
5595 { 5595 {
5596 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate, domT emplate(isolate, worldType(isolate))); 5596 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate, domT emplate(isolate));
5597 5597
5598 ExecutionContext* context = toExecutionContext(prototypeTemplate->CreationCo ntext()); 5598 ExecutionContext* context = toExecutionContext(prototypeTemplate->CreationCo ntext());
5599 if (context && context->isDocument() && ContextFeatures::featureNameEnabled( toDocument(context))) 5599 if (context && context->isDocument() && ContextFeatures::featureNameEnabled( toDocument(context)))
5600 prototypeTemplate->Set(v8AtomicString(isolate, "enabledPerContextMethod" ), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::enabledPerContextMet hodMethodCallback, v8Undefined(), defaultSignature, 1)->GetFunction()); 5600 prototypeTemplate->Set(v8AtomicString(isolate, "enabledPerContextMethod" ), v8::FunctionTemplate::New(isolate, TestObjectV8Internal::enabledPerContextMet hodMethodCallback, v8Undefined(), defaultSignature, 1)->GetFunction());
5601 } 5601 }
5602 5602
5603 EventTarget* V8TestObject::toEventTarget(v8::Handle<v8::Object> object) 5603 EventTarget* V8TestObject::toEventTarget(v8::Handle<v8::Object> object)
5604 { 5604 {
5605 return toNative(object); 5605 return toNative(object);
5606 } 5606 }
(...skipping 23 matching lines...) Expand all
5630 fromInternalPointer(object)->deref(); 5630 fromInternalPointer(object)->deref();
5631 } 5631 }
5632 5632
5633 template<> 5633 template<>
5634 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 5634 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
5635 { 5635 {
5636 return toV8(impl, creationContext, isolate); 5636 return toV8(impl, creationContext, isolate);
5637 } 5637 }
5638 5638
5639 } // namespace WebCore 5639 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.h ('k') | Source/bindings/tests/results/V8TestObjectPython.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698