Chromium Code Reviews| Index: content/browser/dom_storage/dom_storage_message_filter.cc |
| =================================================================== |
| --- content/browser/dom_storage/dom_storage_message_filter.cc (revision 133749) |
| +++ content/browser/dom_storage/dom_storage_message_filter.cc (working copy) |
| @@ -238,6 +238,7 @@ |
| const NullableString16& new_value, |
| const NullableString16& old_value) { |
| DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| + DCHECK(area); |
|
jam
2012/04/26 01:03:56
nit: this is redundant since if it's null a crash
michaeln
2012/04/26 01:20:38
Done.
|
| DOMStorageMsg_Event_Params params; |
| params.origin = area->origin(); |
| params.page_url = page_url; |
| @@ -245,5 +246,6 @@ |
| params.key = key; |
| params.new_value = new_value; |
| params.old_value = old_value; |
| + params.namespace_id = area->namespace_id(); |
| Send(new DOMStorageMsg_Event(params)); |
| } |