Title: [211676] trunk/Source/WebCore
- Revision
- 211676
- Author
- [email protected]
- Date
- 2017-02-04 18:20:33 -0800 (Sat, 04 Feb 2017)
Log Message
Unreviewed, fix mistake in comment added in r211569.
* history/PageCache.cpp:
(WebCore::PageCache::removeAllItemsForPage):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (211675 => 211676)
--- trunk/Source/WebCore/ChangeLog 2017-02-05 01:26:25 UTC (rev 211675)
+++ trunk/Source/WebCore/ChangeLog 2017-02-05 02:20:33 UTC (rev 211676)
@@ -1,3 +1,10 @@
+2017-02-04 Chris Dumez <[email protected]>
+
+ Unreviewed, fix mistake in comment added in r211569.
+
+ * history/PageCache.cpp:
+ (WebCore::PageCache::removeAllItemsForPage):
+
2017-02-04 Yoav Weiss <[email protected]>
Fix memory issues related to preload eviction.
Modified: trunk/Source/WebCore/history/PageCache.cpp (211675 => 211676)
--- trunk/Source/WebCore/history/PageCache.cpp 2017-02-05 01:26:25 UTC (rev 211675)
+++ trunk/Source/WebCore/history/PageCache.cpp 2017-02-05 02:20:33 UTC (rev 211676)
@@ -469,7 +469,7 @@
void PageCache::removeAllItemsForPage(Page& page)
{
for (auto it = m_items.begin(); it != m_items.end();) {
- // Increment iterator first so it stays invalid after the removal.
+ // Increment iterator first so it stays valid after the removal.
auto current = it;
++it;
if (&(*current)->m_cachedPage->page() == &page) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes