Reviewed by Adam.
Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
Need to set the last visited time before calling WebHistory::addItem().
* WebHistory.cpp:
(WebHistory::addItemForURL):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24511
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-07-21 Ada Chan <adachan@apple.com>
+
+ Reviewed by Adam.
+
+ Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
+ Need to set the last visited time before calling WebHistory::addItem().
+
+ * WebHistory.cpp:
+ (WebHistory::addItemForURL):
+
2007-07-20 Justin Garcia <justin.garcia@apple.com>
Reviewed by Darin.
if (FAILED(hr))
return hr;
- hr = addItem(item.get());
+ hr = item->setLastVisitedTimeInterval(lastVisited); // also increments visitedCount
if (FAILED(hr))
return hr;
- return item->setLastVisitedTimeInterval(lastVisited); // also increments visitedCount
+ return addItem(item.get());
}
HRESULT WebHistory::itemForURLString(