Index: Source/bindings/v8/ScriptPromiseResolverWithContext.h |
diff --git a/Source/bindings/v8/ScriptPromiseResolverWithContext.h b/Source/bindings/v8/ScriptPromiseResolverWithContext.h |
index def0fb87f2678e9585d2d579c51d2607171b1bfd..55b2a2b0dce69878049cad8a85bc86b726917ea4 100644 |
--- a/Source/bindings/v8/ScriptPromiseResolverWithContext.h |
+++ b/Source/bindings/v8/ScriptPromiseResolverWithContext.h |
@@ -104,7 +104,7 @@ private: |
template<typename T> |
v8::Handle<v8::Value> toV8Value(const T& value) |
{ |
- return ToV8Value<ScriptPromiseResolverWithContext, 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> |