Index: Source/bindings/tests/results/V8TestException.cpp |
diff --git a/Source/bindings/tests/results/V8TestException.cpp b/Source/bindings/tests/results/V8TestException.cpp |
index 7e13a332968e81721dbd594de8be7c78d7fe0e60..9a1efcbe9b1bd11650d619e16b27ec7ff1adc3b9 100644 |
--- a/Source/bindings/tests/results/V8TestException.cpp |
+++ b/Source/bindings/tests/results/V8TestException.cpp |
@@ -141,6 +141,13 @@ TestException* V8TestException::toNativeWithTypeCheck(v8::Isolate* isolate, v8:: |
return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Object>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; |
} |
+v8::Handle<v8::Object> wrap(TestException* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
+{ |
+ ASSERT(impl); |
+ ASSERT(!DOMDataStore::containsWrapper<V8TestException>(impl, isolate)); |
+ return V8TestException::createWrapper(impl, creationContext, isolate); |
+} |
+ |
v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
ASSERT(impl); |