Index: Source/bindings/tests/results/V8TestObject.h |
diff --git a/Source/bindings/tests/results/V8TestObject.h b/Source/bindings/tests/results/V8TestObject.h |
index c086fd326d994ec0edce8c6893967a7e4b86c0c5..c59d77f8ff12976d94e4005459d9ea427dd0893a 100644 |
--- a/Source/bindings/tests/results/V8TestObject.h |
+++ b/Source/bindings/tests/results/V8TestObject.h |
@@ -85,11 +85,12 @@ public: |
static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*); |
private: |
- friend v8::Handle<v8::Object> wrap(TestObject*, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
- static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObject>, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
}; |
-v8::Handle<v8::Object> wrap(TestObject* impl, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
+inline v8::Handle<v8::Object> wrap(TestObject* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
+{ |
+ return impl->wrap(creationContext, isolate); |
+} |
inline v8::Handle<v8::Value> toV8(TestObject* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |