Index: Source/bindings/tests/results/V8TestNode.h |
diff --git a/Source/bindings/tests/results/V8TestNode.h b/Source/bindings/tests/results/V8TestNode.h |
index 9dab1f81f73031b3cc4587b921ef55077a075f55..6107f17f099e178344d7a5bf5bd3ce8175c633c2 100644 |
--- a/Source/bindings/tests/results/V8TestNode.h |
+++ b/Source/bindings/tests/results/V8TestNode.h |
@@ -30,7 +30,8 @@ public: |
static void derefObject(void*); |
static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
+ static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0; |
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1; |
static inline void* toInternalPointer(TestNode* impl) |
{ |
return V8Node::toInternalPointer(impl); |
@@ -45,7 +46,7 @@ public: |
private: |
friend v8::Handle<v8::Object> wrap(TestNode*, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
- static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestNode>, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
+ static v8::Handle<v8::Object> createWrapper(PassRefPtrWillBeRawPtr<TestNode>, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
}; |
inline v8::Handle<v8::Object> wrap(TestNode* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
@@ -105,25 +106,25 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestNode* imp |
v8SetReturnValue(callbackInfo, wrapper); |
} |
-inline v8::Handle<v8::Value> toV8(PassRefPtr<TestNode> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
+inline v8::Handle<v8::Value> toV8(PassRefPtrWillBeRawPtr<TestNode> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
return toV8(impl.get(), creationContext, isolate); |
} |
template<class CallbackInfo> |
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestNode> impl) |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtrWillBeRawPtr<TestNode> impl) |
{ |
v8SetReturnValue(callbackInfo, impl.get()); |
} |
template<class CallbackInfo> |
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestNode> impl) |
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtrWillBeRawPtr<TestNode> impl) |
{ |
v8SetReturnValueForMainWorld(callbackInfo, impl.get()); |
} |
template<class CallbackInfo, class Wrappable> |
-inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestNode> impl, Wrappable* wrappable) |
+inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtrWillBeRawPtr<TestNode> impl, Wrappable* wrappable) |
{ |
v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
} |