Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(819)

Unified Diff: content/browser/dom_storage/dom_storage_message_filter.cc

Issue 10201010: Switch chrome and chromiumDRT over to using the new WebKit API for dispatching events. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/dom_storage_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « no previous file | content/common/dom_storage_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698