diff options
-rw-r--r-- | chrome/browser/external_tab_container.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index f71129e..cc0782f 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -268,7 +268,7 @@ void ExternalTabContainer::Observe(NotificationType type, case NotificationType::LOAD_STOP: { const LoadNotificationDetails* load = Details<LoadNotificationDetails>(details).ptr(); - if (PageTransition::IsMainFrame(load->origin())) { + if (load != NULL && PageTransition::IsMainFrame(load->origin())) { automation_->Send(new AutomationMsg_TabLoaded(0, tab_handle_, load->url())); } |