Index: Source/core/html/parser/HTMLConstructionSite.cpp |
diff --git a/Source/core/html/parser/HTMLConstructionSite.cpp b/Source/core/html/parser/HTMLConstructionSite.cpp |
index 71d5b6b14c82d65478b48a1f1bd9994033bc47b0..314ce64d30e9c922eb89c1937ab103fad5179916 100644 |
--- a/Source/core/html/parser/HTMLConstructionSite.cpp |
+++ b/Source/core/html/parser/HTMLConstructionSite.cpp |
@@ -547,8 +547,8 @@ void HTMLConstructionSite::insertDoctype(AtomicHTMLToken* token) |
{ |
ASSERT(token->type() == HTMLToken::DOCTYPE); |
- const String& publicId = StringImpl::create8BitIfPossible(token->publicIdentifier()); |
- const String& systemId = StringImpl::create8BitIfPossible(token->systemIdentifier()); |
+ const String& publicId = token->publicIdentifier(); |
+ const String& systemId = token->systemIdentifier(); |
RefPtrWillBeRawPtr<DocumentType> doctype = DocumentType::create(m_document, token->name(), publicId, systemId); |
attachLater(m_attachmentRoot, doctype.release()); |