Index: Source/bindings/v8/ScriptPromiseResolver.h |
diff --git a/Source/bindings/v8/ScriptPromiseResolver.h b/Source/bindings/v8/ScriptPromiseResolver.h |
index 14e8deb5f8a958808638b3ea1b1afc33dd215a4e..c2ad9e22e4a62fe5633ab9973ebefdfc614d0d76 100644 |
--- a/Source/bindings/v8/ScriptPromiseResolver.h |
+++ b/Source/bindings/v8/ScriptPromiseResolver.h |
@@ -104,7 +104,7 @@ private: |
template<typename T> |
v8::Handle<v8::Value> toV8Value(const T& value) |
{ |
- return ToV8Value<ScriptPromiseResolver, v8::Handle<v8::Object> >::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isolate()); |
+ return V8ValueTraits<T>::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isolate()); |
} |
template <typename T> |