Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: WebCore/history/HistoryItem.cpp

Issue 6500005: Revert 78236 - Merge r76205, crbug 54262 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/history/HistoryItem.h ('k') | WebCore/loader/HistoryController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/history/HistoryItem.cpp
===================================================================
--- WebCore/history/HistoryItem.cpp (revision 78353)
+++ WebCore/history/HistoryItem.cpp (working copy)
@@ -60,8 +60,6 @@
, m_visitCount(0)
, m_itemSequenceNumber(generateSequenceNumber())
, m_documentSequenceNumber(generateSequenceNumber())
- , m_next(0)
- , m_prev(0)
{
}
@@ -76,8 +74,6 @@
, m_visitCount(0)
, m_itemSequenceNumber(generateSequenceNumber())
, m_documentSequenceNumber(generateSequenceNumber())
- , m_next(0)
- , m_prev(0)
{
iconDatabase()->retainIconForPageURL(m_urlString);
}
@@ -94,8 +90,6 @@
, m_visitCount(0)
, m_itemSequenceNumber(generateSequenceNumber())
, m_documentSequenceNumber(generateSequenceNumber())
- , m_next(0)
- , m_prev(0)
{
iconDatabase()->retainIconForPageURL(m_urlString);
}
@@ -113,8 +107,6 @@
, m_visitCount(0)
, m_itemSequenceNumber(generateSequenceNumber())
, m_documentSequenceNumber(generateSequenceNumber())
- , m_next(0)
- , m_prev(0)
{
iconDatabase()->retainIconForPageURL(m_urlString);
}
@@ -167,38 +159,6 @@
return adoptRef(new HistoryItem(*this));
}
-void HistoryItem::reset()
-{
- iconDatabase()->releaseIconForPageURL(m_urlString);
-
- m_urlString = String();
- m_originalURLString = String();
- m_referrer = String();
- m_target = String();
- m_parent = String();
- m_title = String();
- m_displayTitle = String();
-
- m_lastVisitedTime = 0;
- m_lastVisitWasHTTPNonGet = false;
-
- m_lastVisitWasFailure = false;
- m_isTargetItem = false;
- m_visitCount = 0;
- m_dailyVisitCounts.clear();
- m_weeklyVisitCounts.clear();
-
- m_redirectURLs.clear();
-
- m_itemSequenceNumber = generateSequenceNumber();
-
- m_stateObject = 0;
- m_documentSequenceNumber = generateSequenceNumber();
-
- m_formData = 0;
- m_formContentType = String();
-}
-
const String& HistoryItem::urlString() const
{
return m_urlString;
« no previous file with comments | « WebCore/history/HistoryItem.h ('k') | WebCore/loader/HistoryController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698