Index: chrome/browser/external_tab_container.cc |
=================================================================== |
--- chrome/browser/external_tab_container.cc (revision 16185) |
+++ chrome/browser/external_tab_container.cc (working copy) |
@@ -268,7 +268,9 @@ |
case NotificationType::LOAD_STOP: { |
const LoadNotificationDetails* load = |
Details<LoadNotificationDetails>(details).ptr(); |
- if (PageTransition::IsMainFrame(load->origin())) { |
+ LOG_IF(WARNING, load == NULL) << "ExternalTabContainer received " |
amit
2009/05/18 21:02:10
I think this can be null for legitimate reasons, s
robertshield
2009/05/18 21:11:13
Done.
|
+ << "null LoadNotificationDetails in Observe(LOAD_STOP)."; |
+ if (load != NULL && PageTransition::IsMainFrame(load->origin())) { |
automation_->Send(new AutomationMsg_TabLoaded(0, tab_handle_, |
load->url())); |
} |