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

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

Issue 2269933002: Instant cleanup: remove MODE_SEARCH_RESULTS and ORIGIN_SEARCH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_url_replacement
Patch Set: review Created 4 years, 3 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 | « no previous file | chrome/browser/ui/browser_instant_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 641ebab2c361f5d48ccff5da7682a4f4959647a4..3c56654852c4d0306df40504036785ba1984a1fb 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -507,9 +507,9 @@ void OpenCurrentURL(Browser* browser) {
ui::PAGE_TRANSITION_TYPED) &&
!ui::PageTransitionCoreTypeIs(page_transition,
ui::PAGE_TRANSITION_RELOAD) &&
- browser->instant_controller() &&
- browser->instant_controller()->OpenInstant(open_disposition, url))
- return;
+ browser->instant_controller()) {
+ browser->instant_controller()->OpenInstant(open_disposition, url);
+ }
NavigateParams params(browser, url, page_transition);
params.disposition = open_disposition;
« no previous file with comments | « no previous file | chrome/browser/ui/browser_instant_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698