diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 0400e9457e..d6e0b170ce 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -258,7 +258,9 @@ void WebContents::DidNavigateMainFrame( void WebContents::TitleWasSet(content::NavigationEntry* entry, bool explicit_set) { - Emit("page-title-set", entry->GetTitle(), explicit_set); + // Back/Forward navigation may have pruned entries. + if (entry) + Emit("page-title-set", entry->GetTitle(), explicit_set); } void WebContents::DidUpdateFaviconURL(