Index: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc |
diff --git a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc |
index 6d43469964cfe9aa94be5833d9b2ea25ec161ce3..adeee32615253d49bd89d777abbd50d4f9cce206 100644 |
--- a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc |
+++ b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc |
@@ -85,7 +85,7 @@ int TabContentsSyncedTabDelegate::GetEntryCount() const { |
GURL TabContentsSyncedTabDelegate::GetVirtualURLAtIndex(int i) const { |
NavigationEntry* entry = GetPossiblyPendingEntryAtIndex(web_contents_, i); |
- return entry->GetVirtualURL(); |
+ return entry ? entry->GetVirtualURL() : GURL(); |
} |
GURL TabContentsSyncedTabDelegate::GetFaviconURLAtIndex(int i) const { |