| Index: Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp
|
| index 5a1781eac0f2b193843c30c7987b1af14c2e6a46..2268cf7a25b2c2a2f60cb8bff6918bf2e8794dbb 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp
|
| @@ -43,7 +43,7 @@ void webCoreInitializeScriptWrappableForInterface(WebCore::TestInterfaceEventCon
|
| }
|
|
|
| namespace WebCore {
|
| -const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEventConstructor::derefObject, 0, 0, 0, V8TestInterfaceEventConstructor::installPerContextEnabledMethods, &V8Event::wrapperTypeInfo, WrapperTypeObjectPrototype, false };
|
| +const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEventConstructor::derefObject, 0, 0, 0, V8TestInterfaceEventConstructor::installPerContextEnabledMethods, &V8Event::wrapperTypeInfo, WrapperTypeObjectPrototype, true };
|
|
|
| namespace TestInterfaceEventConstructorV8Internal {
|
|
|
| @@ -257,7 +257,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty())
|
| V8HiddenValue::setHiddenValue(isolate, info.Holder(), v8AtomicString(isolate, "initializedByEventConstructorReadonlyAnyAttribute"), initializedByEventConstructorReadonlyAnyAttribute);
|
| }
|
| - RefPtr<TestInterfaceEventConstructor> event = TestInterfaceEventConstructor::create(type, eventInit, exceptionState);
|
| + RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEventConstructor::create(type, eventInit, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| if (DOMWrapperWorld::current(isolate)->isIsolatedWorld()) {
|
| @@ -388,7 +388,7 @@ TestInterfaceEventConstructor* V8TestInterfaceEventConstructor::toNativeWithType
|
| return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Object>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
|
| }
|
|
|
| -v8::Handle<v8::Object> V8TestInterfaceEventConstructor::createWrapper(PassRefPtr<TestInterfaceEventConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +v8::Handle<v8::Object> V8TestInterfaceEventConstructor::createWrapper(PassRefPtrWillBeRawPtr<TestInterfaceEventConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl);
|
| ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceEventConstructor>(impl.get(), isolate));
|
| @@ -410,7 +410,9 @@ v8::Handle<v8::Object> V8TestInterfaceEventConstructor::createWrapper(PassRefPtr
|
|
|
| void V8TestInterfaceEventConstructor::derefObject(void* object)
|
| {
|
| +#if !ENABLE(OILPAN)
|
| fromInternalPointer(object)->deref();
|
| +#endif // !ENABLE(OILPAN)
|
| }
|
|
|
| template<>
|
|
|