Index: Source/bindings/tests/results/core/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestObject.cpp b/Source/bindings/tests/results/core/V8TestObject.cpp |
index b4dcb721c3e3086d6142dfba7789133a65dc4bb8..683931d71684876c8274634e53cf0d474655436d 100644 |
--- a/Source/bindings/tests/results/core/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/core/V8TestObject.cpp |
@@ -6438,7 +6438,7 @@ static void voidMethodTestCallbackInterfaceArgMethod(const v8::FunctionCallbackI |
return; |
} |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
- OwnPtrWillBeRawPtr<TestCallbackInterface> testCallbackInterfaceArg = nullptr;; |
+ TestCallbackInterface* testCallbackInterfaceArg = nullptr;; |
{ |
if (info.Length() <= 0 || !info[0]->IsFunction()) { |
V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestCallbackInterfaceArg", "TestObject", "The callback provided as parameter 1 is not a function."), info.GetIsolate()); |
@@ -6446,7 +6446,7 @@ static void voidMethodTestCallbackInterfaceArgMethod(const v8::FunctionCallbackI |
} |
testCallbackInterfaceArg = V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate())); |
} |
- impl->voidMethodTestCallbackInterfaceArg(testCallbackInterfaceArg.release()); |
+ impl->voidMethodTestCallbackInterfaceArg(testCallbackInterfaceArg); |
} |
static void voidMethodTestCallbackInterfaceArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
@@ -6459,7 +6459,7 @@ static void voidMethodTestCallbackInterfaceArgMethodCallback(const v8::FunctionC |
static void voidMethodOptionalTestCallbackInterfaceArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
- OwnPtrWillBeRawPtr<TestCallbackInterface> optionalTestCallbackInterfaceArg = nullptr;; |
+ TestCallbackInterface* optionalTestCallbackInterfaceArg = nullptr;; |
{ |
if (info.Length() > 0 && !isUndefinedOrNull(info[0])) { |
if (!info[0]->IsFunction()) { |
@@ -6469,7 +6469,7 @@ static void voidMethodOptionalTestCallbackInterfaceArgMethod(const v8::FunctionC |
optionalTestCallbackInterfaceArg = V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate())); |
} |
} |
- impl->voidMethodOptionalTestCallbackInterfaceArg(optionalTestCallbackInterfaceArg.release()); |
+ impl->voidMethodOptionalTestCallbackInterfaceArg(optionalTestCallbackInterfaceArg); |
} |
static void voidMethodOptionalTestCallbackInterfaceArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
@@ -6486,7 +6486,7 @@ static void voidMethodTestCallbackInterfaceOrNullArgMethod(const v8::FunctionCal |
return; |
} |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
- OwnPtrWillBeRawPtr<TestCallbackInterface> testCallbackInterfaceArg = nullptr;; |
+ TestCallbackInterface* testCallbackInterfaceArg = nullptr;; |
{ |
if (info.Length() <= 0 || !(info[0]->IsFunction() || info[0]->IsNull())) { |
V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestCallbackInterfaceOrNullArg", "TestObject", "The callback provided as parameter 1 is not a function."), info.GetIsolate()); |
@@ -6494,7 +6494,7 @@ static void voidMethodTestCallbackInterfaceOrNullArgMethod(const v8::FunctionCal |
} |
testCallbackInterfaceArg = info[0]->IsNull() ? nullptr : V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate())); |
} |
- impl->voidMethodTestCallbackInterfaceOrNullArg(testCallbackInterfaceArg.release()); |
+ impl->voidMethodTestCallbackInterfaceOrNullArg(testCallbackInterfaceArg); |
} |
static void voidMethodTestCallbackInterfaceOrNullArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
@@ -9307,7 +9307,7 @@ static void raisesExceptionVoidMethodTestCallbackInterfaceArgMethod(const v8::Fu |
return; |
} |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
- OwnPtrWillBeRawPtr<TestCallbackInterface> testCallbackInterfaceArg = nullptr;; |
+ TestCallbackInterface* testCallbackInterfaceArg = nullptr;; |
{ |
if (info.Length() <= 0 || !info[0]->IsFunction()) { |
exceptionState.throwTypeError("The callback provided as parameter 1 is not a function."); |
@@ -9316,7 +9316,7 @@ static void raisesExceptionVoidMethodTestCallbackInterfaceArgMethod(const v8::Fu |
} |
testCallbackInterfaceArg = V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate())); |
} |
- impl->raisesExceptionVoidMethodTestCallbackInterfaceArg(testCallbackInterfaceArg.release(), exceptionState); |
+ impl->raisesExceptionVoidMethodTestCallbackInterfaceArg(testCallbackInterfaceArg, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
return; |
@@ -9334,7 +9334,7 @@ static void raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethod(cons |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg", "TestObject", info.Holder(), info.GetIsolate()); |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
- OwnPtrWillBeRawPtr<TestCallbackInterface> optionalTestCallbackInterfaceArg = nullptr;; |
+ TestCallbackInterface* optionalTestCallbackInterfaceArg = nullptr;; |
{ |
if (info.Length() > 0 && !isUndefinedOrNull(info[0])) { |
if (!info[0]->IsFunction()) { |
@@ -9345,7 +9345,7 @@ static void raisesExceptionVoidMethodOptionalTestCallbackInterfaceArgMethod(cons |
optionalTestCallbackInterfaceArg = V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate())); |
} |
} |
- impl->raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg(optionalTestCallbackInterfaceArg.release(), exceptionState); |
+ impl->raisesExceptionVoidMethodOptionalTestCallbackInterfaceArg(optionalTestCallbackInterfaceArg, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
return; |