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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 11416187: Commit instant loader when the instant page navigates away from instant URL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing commit for cross process navigation. Created 8 years 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/instant/instant_client.h » ('j') | chrome/browser/instant/instant_loader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 1c91ff0a8d965e5824cb4a3be239b2ec1bdddb5d..67c6fa26c8a2000c636208c9acde16d37760064e 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -3192,7 +3192,7 @@ void TestingAutomationProvider::GetInstantInfo(Browser* browser,
InstantController* instant = browser->instant_controller()->instant();
info->SetBoolean("enabled", true);
info->SetBoolean("active", (instant->GetPreviewContents() != NULL));
- info->SetBoolean("current", instant->IsCurrent());
+ info->SetBoolean("current", instant->IsCurrentSearch());
if (instant->GetPreviewContents()) {
WebContents* contents = instant->GetPreviewContents();
info->SetBoolean("loading", contents->IsLoading());
« no previous file with comments | « no previous file | chrome/browser/instant/instant_client.h » ('j') | chrome/browser/instant/instant_loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698