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 2237ffa15844e82c3518991b75d74992a13d2ff4..ac2e654e0c272f2441154836b212bda54d5fe25d 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -3536,7 +3536,8 @@ void TestingAutomationProvider::GetInstantInfo(Browser* browser, |
InstantController* instant = browser->instant(); |
info->SetBoolean("enabled", true); |
info->SetBoolean("showing", instant->is_displayable()); |
- info->SetBoolean("active", instant->is_active()); |
+ // TODO: can we remove this? |
+ info->SetBoolean("active", (instant->GetPreviewContents() != NULL)); |
info->SetBoolean("current", instant->IsCurrent()); |
if (instant->GetPreviewContents() && |
instant->GetPreviewContents()->tab_contents()) { |