Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index a8cbf916c69425bc24c1ac4e78c872de866c368a..9624cfb55f561303536829538eb507732be8b4b7 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -2241,7 +2241,7 @@ void RenderFrameImpl::OnPostMessageEvent( |
V8ValueConverterImpl converter; |
converter.SetDateAllowed(true); |
converter.SetRegExpAllowed(true); |
- std::unique_ptr<base::Value> value(new base::StringValue(params.data)); |
+ std::unique_ptr<base::Value> value(new base::Value(params.data)); |
v8::Local<v8::Value> result_value = converter.ToV8Value(value.get(), |
context); |
serialized_script_value = WebSerializedScriptValue::serialize(result_value); |