Index: Source/core/html/PluginDocument.cpp |
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp |
index b132b9fd4f98c89f6a826ebf8bfa0892ae265623..366ee643ba3d0dde4b457a15206b0499432a0978 100644 |
--- a/Source/core/html/PluginDocument.cpp |
+++ b/Source/core/html/PluginDocument.cpp |
@@ -99,7 +99,7 @@ void PluginDocumentParser::createDocumentStructure() |
m_embedElement->setAttribute(widthAttr, "100%"); |
m_embedElement->setAttribute(heightAttr, "100%"); |
m_embedElement->setAttribute(nameAttr, "plugin"); |
- m_embedElement->setAttribute(srcAttr, document()->url().string()); |
+ m_embedElement->setAttribute(srcAttr, AtomicString(document()->url().string())); |
m_embedElement->setAttribute(typeAttr, document()->loader()->mimeType()); |
body->appendChild(m_embedElement); |