| 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 b443d203ef9b4bd47e45b28592c667dae818df26..e96c472b7219cd5254de74c70ce750cdb109e1d9 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
| @@ -17,6 +17,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "core/CoreExport.h"
|
| +#include "core/dom/NotShared.h"
|
| #include "platform/heap/Handle.h"
|
| #include "platform/wtf/Forward.h"
|
| #include "v8/include/v8.h"
|
| @@ -275,6 +276,13 @@ inline v8::Local<v8::Value> ToV8(const HeapVector<std::pair<String, T>>& value,
|
| return object;
|
| }
|
|
|
| +template <typename T>
|
| +inline v8::Local<v8::Value> ToV8(NotShared<T> value,
|
| + v8::Local<v8::Object> creation_context,
|
| + v8::Isolate* isolate) {
|
| + return ToV8(value.View(), creation_context, isolate);
|
| +}
|
| +
|
| template <typename Sequence>
|
| inline v8::Local<v8::Value> ToV8SequenceInternal(
|
| const Sequence& sequence,
|
|
|