| Index: Source/bindings/tests/results/V8TestInterfaceDocument.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceDocument.h b/Source/bindings/tests/results/V8TestInterfaceDocument.h
|
| index 81d660681c4831f3e14df748d8f62d37ca864bfe..f34eb48b59c08b0a003fc1361787a59ae4ec92f3 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceDocument.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceDocument.h
|
| @@ -29,7 +29,8 @@ public:
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| static void derefObject(void*);
|
| static EventTarget* toEventTarget(v8::Handle<v8::Object>);
|
| - static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
|
| + static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0;
|
| + static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
|
| static inline void* toInternalPointer(TestInterfaceDocument* impl)
|
| {
|
| return V8Document::toInternalPointer(impl);
|
| @@ -44,7 +45,7 @@ public:
|
|
|
| private:
|
| friend v8::Handle<v8::Object> wrap(TestInterfaceDocument*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| - static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterfaceDocument>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| + static v8::Handle<v8::Object> createWrapper(PassRefPtrWillBeRawPtr<TestInterfaceDocument>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| };
|
|
|
| v8::Handle<v8::Object> wrap(TestInterfaceDocument* impl, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| @@ -99,25 +100,25 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
|
| v8SetReturnValue(callbackInfo, wrapper);
|
| }
|
|
|
| -inline v8::Handle<v8::Value> toV8(PassRefPtr<TestInterfaceDocument> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +inline v8::Handle<v8::Value> toV8(PassRefPtrWillBeRawPtr<TestInterfaceDocument> 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<TestInterfaceDocument> impl)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtrWillBeRawPtr<TestInterfaceDocument> impl)
|
| {
|
| v8SetReturnValue(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceDocument> impl)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtrWillBeRawPtr<TestInterfaceDocument> impl)
|
| {
|
| v8SetReturnValueForMainWorld(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo, class Wrappable>
|
| -inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceDocument> impl, Wrappable* wrappable)
|
| +inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtrWillBeRawPtr<TestInterfaceDocument> impl, Wrappable* wrappable)
|
| {
|
| v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
|
| }
|
|
|