| Index: third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.cpp b/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.cpp
|
| index 57ecd06e260cd8558fd4ac99ce9383f8cd2a23e5..e449086ed7acba36288a6a3904f1cc105dae021c 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "bindings/core/v8/GeneratedCodeHelper.h"
|
|
|
| +#include "bindings/core/v8/SerializedScriptValue.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
|
|
| namespace blink {
|
| @@ -18,4 +19,11 @@ void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::Pr
|
| v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::unwrap(data)));
|
| }
|
|
|
| +v8::Local<v8::Value> v8Deserialize(v8::Isolate* isolate, PassRefPtr<SerializedScriptValue> value)
|
| +{
|
| + if (value)
|
| + return value->deserialize();
|
| + return v8::Null(isolate);
|
| +}
|
| +
|
| } // namespace blink
|
|
|