Title: [88075] trunk/Source/WebKit2
- Revision
- 88075
- Author
- [email protected]
- Date
- 2011-06-03 16:29:52 -0700 (Fri, 03 Jun 2011)
Log Message
<rdar://problem/9553645> and https://bugs.webkit.org/show_bug.cgi?id=62064
WebBackForwardListItem::setBackForwardData actually appends data
Reviewed by Steve Falkenburg.
* Shared/WebBackForwardListItem.cpp:
(WebKit::WebBackForwardListItem::setBackForwardData): Clear the Vector out before appending
the replacement data.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (88074 => 88075)
--- trunk/Source/WebKit2/ChangeLog 2011-06-03 23:03:04 UTC (rev 88074)
+++ trunk/Source/WebKit2/ChangeLog 2011-06-03 23:29:52 UTC (rev 88075)
@@ -1,3 +1,14 @@
+2011-06-03 Brady Eidson <[email protected]>
+
+ Reviewed by Steve Falkenburg.
+
+ <rdar://problem/9553645> and https://bugs.webkit.org/show_bug.cgi?id=62064
+ WebBackForwardListItem::setBackForwardData actually appends data
+
+ * Shared/WebBackForwardListItem.cpp:
+ (WebKit::WebBackForwardListItem::setBackForwardData): Clear the Vector out before appending
+ the replacement data.
+
2011-06-03 Anders Carlsson <[email protected]>
Reviewed by Brady Eidson.
Modified: trunk/Source/WebKit2/Shared/WebBackForwardListItem.cpp (88074 => 88075)
--- trunk/Source/WebKit2/Shared/WebBackForwardListItem.cpp 2011-06-03 23:03:04 UTC (rev 88074)
+++ trunk/Source/WebKit2/Shared/WebBackForwardListItem.cpp 2011-06-03 23:29:52 UTC (rev 88075)
@@ -56,6 +56,7 @@
void WebBackForwardListItem::setBackForwardData(const uint8_t* data, size_t size)
{
+ m_backForwardData.clear();
m_backForwardData.reserveCapacity(size);
m_backForwardData.append(data, size);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes