Title: [121560] trunk/Source/WebCore
- Revision
- 121560
- Author
- [email protected]
- Date
- 2012-06-29 08:16:21 -0700 (Fri, 29 Jun 2012)
Log Message
Don't call SegmentedString::toString() twice in XMLDocumentParser::append(const SegmentedString&)
https://bugs.webkit.org/show_bug.cgi?id=90254
Patch by Kwang Yul Seo <[email protected]> on 2012-06-29
Reviewed by Adam Barth.
We can reuse the local variable parseString instead of calling s.toString() again.
No behavior change, so no new tests.
* xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::append):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (121559 => 121560)
--- trunk/Source/WebCore/ChangeLog 2012-06-29 14:38:23 UTC (rev 121559)
+++ trunk/Source/WebCore/ChangeLog 2012-06-29 15:16:21 UTC (rev 121560)
@@ -1,3 +1,16 @@
+2012-06-29 Kwang Yul Seo <[email protected]>
+
+ Don't call SegmentedString::toString() twice in XMLDocumentParser::append(const SegmentedString&)
+ https://bugs.webkit.org/show_bug.cgi?id=90254
+
+ Reviewed by Adam Barth.
+
+ We can reuse the local variable parseString instead of calling s.toString() again.
+ No behavior change, so no new tests.
+
+ * xml/parser/XMLDocumentParser.cpp:
+ (WebCore::XMLDocumentParser::append):
+
2012-06-29 Mihnea Ovidenie <[email protected]>
Crash when flowing a fixed positioned element into a region.
Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParser.cpp (121559 => 121560)
--- trunk/Source/WebCore/xml/parser/XMLDocumentParser.cpp 2012-06-29 14:38:23 UTC (rev 121559)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParser.cpp 2012-06-29 15:16:21 UTC (rev 121560)
@@ -127,7 +127,7 @@
return;
}
- doWrite(s.toString());
+ doWrite(parseString);
// After parsing, go ahead and dispatch image beforeload events.
ImageLoader::dispatchPendingBeforeLoadEvents();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes