| Index: components/plugins/renderer/plugin_placeholder.cc
|
| diff --git a/components/plugins/renderer/plugin_placeholder.cc b/components/plugins/renderer/plugin_placeholder.cc
|
| index 3c3d9f78cdb10501da497f09382be68c3a66a623..df85dd562bd181041fd12c095143e0a83406458a 100644
|
| --- a/components/plugins/renderer/plugin_placeholder.cc
|
| +++ b/components/plugins/renderer/plugin_placeholder.cc
|
| @@ -162,7 +162,7 @@ void PluginPlaceholder::SetMessage(const base::string16& message) {
|
|
|
| void PluginPlaceholder::UpdateMessage() {
|
| std::string script =
|
| - "window.setMessage(" + base::GetDoubleQuotedJson(message_) + ")";
|
| + "window.setMessage(" + base::GetQuotedJSONString(message_) + ")";
|
| plugin_->web_view()->mainFrame()->executeScript(
|
| WebScriptSource(ASCIIToUTF16(script)));
|
| }
|
|
|