| 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 47036a383d9ad8c1c5622eaaae314a1f84401187..6da463d8f7b16aedac28785da840dc69740724d1 100644 | 
| --- a/chrome/browser/automation/testing_automation_provider.cc | 
| +++ b/chrome/browser/automation/testing_automation_provider.cc | 
| @@ -3186,9 +3186,8 @@ void TestingAutomationProvider::GetInstantInfo(Browser* browser, | 
| info->SetBoolean("enabled", true); | 
| info->SetBoolean("active", (instant->GetPreviewContents() != NULL)); | 
| info->SetBoolean("current", instant->IsCurrent()); | 
| -    if (instant->GetPreviewContents() && | 
| -        instant->GetPreviewContents()->web_contents()) { | 
| -      WebContents* contents = instant->GetPreviewContents()->web_contents(); | 
| +    if (instant->GetPreviewContents()) { | 
| +      WebContents* contents = instant->GetPreviewContents(); | 
| info->SetBoolean("loading", contents->IsLoading()); | 
| info->SetString("location", contents->GetURL().spec()); | 
| info->SetString("title", contents->GetTitle()); | 
|  |