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

Unified Diff: webkit/api/src/StorageEventDispatcherChromium.cpp

Issue 258010: Reverting 27759. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « webkit/api/public/WebStorageEventDispatcher.h ('k') | webkit/api/src/StorageEventDispatcherImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/src/StorageEventDispatcherChromium.cpp
===================================================================
--- webkit/api/src/StorageEventDispatcherChromium.cpp (revision 27849)
+++ webkit/api/src/StorageEventDispatcherChromium.cpp (working copy)
@@ -46,7 +46,8 @@
const String& newValue, StorageType storageType,
SecurityOrigin* origin, Frame* sourceFrame)
{
- // FIXME: Implement.
+ ASSERT(!sourceFrame); // Sad, but true.
+ WebKit::webKitClient()->dispatchStorageEvent(key, oldValue, newValue, origin->toString(), storageType == LocalStorage);
}
} // namespace WebCore
« no previous file with comments | « webkit/api/public/WebStorageEventDispatcher.h ('k') | webkit/api/src/StorageEventDispatcherImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698