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

Unified Diff: chrome/browser/ui/browser_navigator.cc

Issue 15041004: Replace PruneAllButActive with PruneAllButVisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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
Index: chrome/browser/ui/browser_navigator.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index d9ed0d33189b11c7e23e88428e494c973721b7c3..12db71069ada57792a8415552838f9639dd69b8f 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -540,6 +540,8 @@ void Navigate(NavigateParams* params) {
}
if (params->disposition != CURRENT_TAB) {
+ // TODO(creis): We can't allow this to swap in a pending navigation to the
+ // local NTP until it commits. Not sure how to achieve that.
swapped_in_instant = SwapInInstantNTP(params, url, NULL);
if (!swapped_in_instant)
params->target_contents = CreateTargetContents(*params, url);

Powered by Google App Engine
This is Rietveld 408576698