| Index: third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| index 88c099f63f39b47f318a4bdd583965cf3b558540..5b33b02d5aef23bf681156e74b6ebfcbd9dd7fa1 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| @@ -435,6 +435,7 @@ static void postMessageImpl(const char* interfaceName, {{cpp_class}}* instance,
|
| // This instance supports sending array buffers by move semantics.
|
| SerializedScriptValue::SerializeOptions options;
|
| options.transferables = &transferables;
|
| + options.longStringPolicy = LongStringPolicy(LongStringPolicy::kSameProcess, 512);
|
| message = SerializedScriptValue::serialize(info.GetIsolate(), info[0], options, exceptionState);
|
| if (exceptionState.hadException())
|
| return;
|
|
|