| Index: Source/bindings/tests/results/V8TestException.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestException.cpp b/Source/bindings/tests/results/V8TestException.cpp
|
| index eff196defda443cc74f9a8656934404c26ecb421..c69e2394bc1f75343f8698c0785b8a28a5269166 100644
|
| --- a/Source/bindings/tests/results/V8TestException.cpp
|
| +++ b/Source/bindings/tests/results/V8TestException.cpp
|
| @@ -160,6 +160,11 @@ bool V8TestException::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isolate* is
|
| || V8PerIsolateData::from(isolate)->hasInstanceInNonMainWorld(&wrapperTypeInfo, jsValue);
|
| }
|
|
|
| +TestException* V8TestException::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
|
| +{
|
| + return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Object>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
|
| +}
|
| +
|
| v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl);
|
|
|