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 012185924ed5fd4a2f0d47facdd24392c32bdb19..b19829166ee75f1c85ce0216f8a98c9d788fec02 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
@@ -231,6 +231,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, |