Index: components/plugins/renderer/plugin_placeholder.cc |
diff --git a/components/plugins/renderer/plugin_placeholder.cc b/components/plugins/renderer/plugin_placeholder.cc |
index a1639640a30b1f4b504d610c273b0955faebcfda..b4b725b28a044ca40ad9ff3d0a4638f120b26993 100644 |
--- a/components/plugins/renderer/plugin_placeholder.cc |
+++ b/components/plugins/renderer/plugin_placeholder.cc |
@@ -165,7 +165,7 @@ |
void PluginPlaceholder::UpdateMessage() { |
std::string script = |
- "window.setMessage(" + base::GetQuotedJSONString(message_) + ")"; |
+ "window.setMessage(" + base::GetDoubleQuotedJson(message_) + ")"; |
plugin_->web_view()->mainFrame()->executeScript( |
WebScriptSource(ASCIIToUTF16(script))); |
} |