summaryrefslogtreecommitdiffstats
path: root/content/public/browser/navigation_controller.h
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 19:43:57 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-10 19:43:57 +0000
commit91854cd80ca6305413c9afc05c395c60ac51a854 (patch)
treebfa53e44c093db031b353a4aeec46b34dcfa0642 /content/public/browser/navigation_controller.h
parent186c6cc2e2fb66458f8809138ed940b547a762a3 (diff)
downloadchromium_src-91854cd80ca6305413c9afc05c395c60ac51a854.zip
chromium_src-91854cd80ca6305413c9afc05c395c60ac51a854.tar.gz
chromium_src-91854cd80ca6305413c9afc05c395c60ac51a854.tar.bz2
Copy all the max page IDs to Instant/Prerender's TabContents
This fixes history problems that could arise with the previous approach. BUG=109417 TEST=See bug for repro steps. Review URL: http://codereview.chromium.org/9125016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/navigation_controller.h')
-rw-r--r--content/public/browser/navigation_controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index 1bd0cf0..0e18514 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -247,7 +247,7 @@ class NavigationController {
// active entry. For example:
// source: A B *C* D
// this: E F *G* (last must be active or pending)
- // result: A B *G*
+ // result: A B C *G*
// This ignores the transient index of the source and honors that of 'this'.
virtual void CopyStateFromAndPrune(NavigationController* source) = 0;