Title: [140680] trunk/Source/WebCore
- Revision
- 140680
- Author
- [email protected]
- Date
- 2013-01-24 06:43:11 -0800 (Thu, 24 Jan 2013)
Log Message
Try to fix the Qt Windows build
* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::decodeNamedEntity): Use a reinterpret_cast to const QChar* like StringQt.cpp.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (140679 => 140680)
--- trunk/Source/WebCore/ChangeLog 2013-01-24 14:14:21 UTC (rev 140679)
+++ trunk/Source/WebCore/ChangeLog 2013-01-24 14:43:11 UTC (rev 140680)
@@ -1,3 +1,10 @@
+2013-01-24 Martin Robinson <[email protected]>
+
+ Try to fix the Qt Windows build
+
+ * xml/parser/XMLDocumentParserQt.cpp:
+ (WebCore::decodeNamedEntity): Use a reinterpret_cast to const QChar* like StringQt.cpp.
+
2013-01-24 Andrey Adaikin <[email protected]>
Web Inspector: [Canvas] REGRESSION: stack traces in the replay log are gone
Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp (140679 => 140680)
--- trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp 2013-01-24 14:14:21 UTC (rev 140679)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp 2013-01-24 14:43:11 UTC (rev 140680)
@@ -71,7 +71,7 @@
{
UChar utf16DecodedEntity[4];
size_t numberOfCodePoints = decodeNamedEntityToUCharArray(entityName.toUtf8().constData(), utf16DecodedEntity);
- return QString::fromUtf16(utf16DecodedEntity, numberOfCodePoints);
+ return QString(reinterpret_cast<const QChar*>(utf16DecodedEntity), numberOfCodePoints);
}
QString EntityResolver::resolveUndeclaredEntity(const QString &name)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes