Title: [144578] trunk/Source/WebCore
- Revision
- 144578
- Author
- aba...@webkit.org
- Date
- 2013-03-03 11:57:39 -0800 (Sun, 03 Mar 2013)
Log Message
Attempt to fix the Qt build after r144498
https://bugs.webkit.org/show_bug.cgi?id=111272
Reviewed by Eric Seidel.
Update the Qt version of the XML parser to call the new API.
* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::resumeParsing):
(WebCore::XMLDocumentParser::appendFragmentSource):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (144577 => 144578)
--- trunk/Source/WebCore/ChangeLog 2013-03-03 19:36:33 UTC (rev 144577)
+++ trunk/Source/WebCore/ChangeLog 2013-03-03 19:57:39 UTC (rev 144578)
@@ -1,3 +1,16 @@
+2013-03-03 Adam Barth <aba...@webkit.org>
+
+ Attempt to fix the Qt build after r144498
+ https://bugs.webkit.org/show_bug.cgi?id=111272
+
+ Reviewed by Eric Seidel.
+
+ Update the Qt version of the XML parser to call the new API.
+
+ * xml/parser/XMLDocumentParserQt.cpp:
+ (WebCore::XMLDocumentParser::resumeParsing):
+ (WebCore::XMLDocumentParser::appendFragmentSource):
+
2013-03-03 Dean Jackson <d...@apple.com>
Plug-ins that are appropriately large w.r.t page size should autostart
Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp (144577 => 144578)
--- trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp 2013-03-03 19:36:33 UTC (rev 144577)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParserQt.cpp 2013-03-03 19:57:39 UTC (rev 144578)
@@ -262,7 +262,7 @@
// Then, write any pending data
SegmentedString rest = m_pendingSrc;
m_pendingSrc.clear();
- append(rest);
+ append(rest.toString().impl());
// Finally, if finish() has been called and append() didn't result
// in any further callbacks being queued, call end()
@@ -273,9 +273,9 @@
bool XMLDocumentParser::appendFragmentSource(const String& source)
{
ASSERT(!m_sawFirstElement);
- append(String("<qxmlstreamdummyelement>"));
- append(source);
- append(String("</qxmlstreamdummyelement>"));
+ append(String("<qxmlstreamdummyelement>").impl());
+ append(source.impl());
+ append(String("</qxmlstreamdummyelement>").impl());
return !hasError();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes