Title: [170669] trunk/Source/WebKit2
Revision
170669
Author
ander...@apple.com
Date
2014-07-01 15:19:55 -0700 (Tue, 01 Jul 2014)

Log Message

Update the highest back-forward list item ID in the other WebBackForwardListItem constructor
https://bugs.webkit.org/show_bug.cgi?id=134515

Reviewed by Tim Horton.

* Shared/WebBackForwardListItem.cpp:
(WebKit::WebBackForwardListItem::WebBackForwardListItem):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (170668 => 170669)


--- trunk/Source/WebKit2/ChangeLog	2014-07-01 21:21:09 UTC (rev 170668)
+++ trunk/Source/WebKit2/ChangeLog	2014-07-01 22:19:55 UTC (rev 170669)
@@ -1,3 +1,13 @@
+2014-07-01  Anders Carlsson  <ander...@apple.com>
+
+        Update the highest back-forward list item ID in the other WebBackForwardListItem constructor
+        https://bugs.webkit.org/show_bug.cgi?id=134515
+
+        Reviewed by Tim Horton.
+
+        * Shared/WebBackForwardListItem.cpp:
+        (WebKit::WebBackForwardListItem::WebBackForwardListItem):
+
 2014-07-01  Brady Eidson  <beid...@apple.com>
 
         Fix ServicesOverlayController teardown

Modified: trunk/Source/WebKit2/Shared/WebBackForwardListItem.cpp (170668 => 170669)


--- trunk/Source/WebKit2/Shared/WebBackForwardListItem.cpp	2014-07-01 21:21:09 UTC (rev 170668)
+++ trunk/Source/WebKit2/Shared/WebBackForwardListItem.cpp	2014-07-01 22:19:55 UTC (rev 170669)
@@ -44,6 +44,8 @@
     : m_itemID(itemID)
     , m_itemState(std::move(backForwardListItemState))
 {
+    if (m_itemID > highestUsedItemID)
+        highestUsedItemID = m_itemID;
 }
 
 WebBackForwardListItem::WebBackForwardListItem(const String& originalURL, const String& url, const String& title, const uint8_t* backForwardData, size_t backForwardDataSize, uint64_t itemID)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to