summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_backend.cc
diff options
context:
space:
mode:
authormeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 17:54:53 +0000
committermeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 17:54:53 +0000
commit990cff1bb03e37a466664bed842de631e5ca0e16 (patch)
tree215407e56c738de24ea602fca9be09de842f24fd /chrome/browser/history/history_backend.cc
parent85c1b4919564d5678546d15c21360d31e5a05faf (diff)
downloadchromium_src-990cff1bb03e37a466664bed842de631e5ca0e16.zip
chromium_src-990cff1bb03e37a466664bed842de631e5ca0e16.tar.gz
chromium_src-990cff1bb03e37a466664bed842de631e5ca0e16.tar.bz2
Temporary fix for page_cycler perf regression.
Review URL: http://codereview.chromium.org/151159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_backend.cc')
-rw-r--r--chrome/browser/history/history_backend.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 622932b..0bd6939 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -649,7 +649,9 @@ std::pair<URLID, VisitID> HistoryBackend::AddPageVisit(
URLVisitedDetails* details = new URLVisitedDetails;
details->transition = transition;
details->row = url_info;
- GetMostRecentRedirectsTo(url, &details->redirects);
+ // TODO(meelapshah) Disabled due to potential PageCycler regression.
+ // Re-enable this.
+ // GetMostRecentRedirectsTo(url, &details->redirects);
BroadcastNotifications(NotificationType::HISTORY_URL_VISITED, details);
}