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 497deccc3af590703b7293ec67b9c0835d1cfb38..d00421e6c939f4f18852ede307d925d313e7e423 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
@@ -9,6 +9,7 @@ |
// handle. Call sites must check IsEmpty() before using return value. |
#include "bindings/core/v8/DOMDataStore.h" |
+#include "bindings/core/v8/IDLDictionaryBase.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/ScriptValue.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
@@ -193,6 +194,11 @@ inline v8::Local<v8::Value> toV8(const Dictionary& value, v8::Local<v8::Object> |
return v8::Local<v8::Value>(); |
} |
+inline v8::Local<v8::Value> toV8(const IDLDictionaryBase& value, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) |
+{ |
+ return value.toV8Impl(creationContext, isolate); |
+} |
+ |
// Array |
template<typename Sequence> |