Index: Source/bindings/tests/results/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp |
index f8fef40292f315d7de64a9de1e1bea868bbd9241..16056ed5c3981fa1566ae110f2109f4c9cf577ff 100644 |
--- a/Source/bindings/tests/results/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/V8TestObject.cpp |
@@ -3121,7 +3121,7 @@ static void locationAttributeGetterCallback(v8::Local<v8::String>, const v8::Pro |
static void locationAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
{ |
TestObject* proxyImp = V8TestObject::toNative(info.Holder()); |
- TestNode* imp = WTF::getPtr(proxyImp->location()); |
+ RefPtr<TestNode> imp = WTF::getPtr(proxyImp->location()); |
if (!imp) |
return; |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |
@@ -3151,7 +3151,7 @@ static void locationWithExceptionAttributeGetterCallback(v8::Local<v8::String>, |
static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) |
{ |
TestObject* proxyImp = V8TestObject::toNative(info.Holder()); |
- TestNode* imp = WTF::getPtr(proxyImp->locationWithException()); |
+ RefPtr<TestNode> imp = WTF::getPtr(proxyImp->locationWithException()); |
if (!imp) |
return; |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, jsValue); |