| Index: Source/bindings/tests/results/V8TestException.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestException.cpp b/Source/bindings/tests/results/V8TestException.cpp
|
| index 93a868442d291cda3d2787cfc9a0e30054088837..5c2dded830f8d8ed1283cd642e321b5c054fadfc 100644
|
| --- a/Source/bindings/tests/results/V8TestException.cpp
|
| +++ b/Source/bindings/tests/results/V8TestException.cpp
|
| @@ -125,18 +125,18 @@ bool V8TestException::HasInstanceInAnyWorld(v8::Handle<v8::Value> value, v8::Iso
|
| v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl.get());
|
| - ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty());
|
| + ASSERT(DOMDataStore::getWrapper<V8TestException>(impl.get(), isolate).IsEmpty());
|
|
|
| - v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &info, impl.get(), isolate);
|
| + v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &info, toWrappedType(impl.get()), isolate);
|
| if (UNLIKELY(wrapper.IsEmpty()))
|
| return wrapper;
|
| installPerContextProperties(wrapper, impl.get(), isolate);
|
| - V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, WrapperConfiguration::Independent);
|
| + V8DOMWrapper::associateObjectWithWrapper<V8TestException>(impl, &info, wrapper, isolate, WrapperConfiguration::Independent);
|
| return wrapper;
|
| }
|
| void V8TestException::derefObject(void* object)
|
| {
|
| - static_cast<TestException*>(object)->deref();
|
| + fromWrappedType(object)->deref();
|
| }
|
|
|
| } // namespace WebCore
|
|
|