Index: third_party/WebKit/Source/bindings/core/v8/ToV8.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
index 0f0cc79c21b58b35b9fafbf8314a9da9d1e4af1b..bfbc90f34a66fcaf7b069b6160bf8cfd7d2d758d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
@@ -239,6 +239,8 @@ inline v8::Local<v8::Value> ToV8(const HeapVector<T, inlineCapacity>& value, |
return toV8SequenceInternal(value, creationContext, isolate); |
} |
+// The following two overloads are also used to convert record<K,V> IDL types |
+// back into ECMAScript Objects. |
template <typename T> |
inline v8::Local<v8::Value> ToV8(const Vector<std::pair<String, T>>& value, |
v8::Local<v8::Object> creationContext, |