Title: [151421] trunk/Source/WebCore
- Revision
- 151421
- Author
- [email protected]
- Date
- 2013-06-10 22:37:51 -0700 (Mon, 10 Jun 2013)
Log Message
DocType strings should be 8 bit wide
https://bugs.webkit.org/show_bug.cgi?id=117487
Reviewed by Michael Saboff.
Merge https://chromium.googlesource.com/chromium/blink/+/8da02d0ce3965c4e6bf227db856bce930393429a.
* html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::insertDoctype):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (151420 => 151421)
--- trunk/Source/WebCore/ChangeLog 2013-06-11 04:47:46 UTC (rev 151420)
+++ trunk/Source/WebCore/ChangeLog 2013-06-11 05:37:51 UTC (rev 151421)
@@ -1,5 +1,17 @@
2013-06-10 Ryosuke Niwa <[email protected]>
+ DocType strings should be 8 bit wide
+ https://bugs.webkit.org/show_bug.cgi?id=117487
+
+ Reviewed by Michael Saboff.
+
+ Merge https://chromium.googlesource.com/chromium/blink/+/8da02d0ce3965c4e6bf227db856bce930393429a.
+
+ * html/parser/HTMLConstructionSite.cpp:
+ (WebCore::HTMLConstructionSite::insertDoctype):
+
+2013-06-10 Ryosuke Niwa <[email protected]>
+
Make more functions const
https://bugs.webkit.org/show_bug.cgi?id=117455
Modified: trunk/Source/WebCore/html/parser/HTMLConstructionSite.cpp (151420 => 151421)
--- trunk/Source/WebCore/html/parser/HTMLConstructionSite.cpp 2013-06-11 04:47:46 UTC (rev 151420)
+++ trunk/Source/WebCore/html/parser/HTMLConstructionSite.cpp 2013-06-11 05:37:51 UTC (rev 151421)
@@ -355,8 +355,8 @@
{
ASSERT(token->type() == HTMLToken::DOCTYPE);
- const String& publicId = String::adopt(token->publicIdentifier());
- const String& systemId = String::adopt(token->systemIdentifier());
+ const String& publicId = StringImpl::create8BitIfPossible(token->publicIdentifier());
+ const String& systemId = StringImpl::create8BitIfPossible(token->systemIdentifier());
RefPtr<DocumentType> doctype = DocumentType::create(m_document, token->name(), publicId, systemId);
attachLater(m_attachmentRoot, doctype.release());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes