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

Unified Diff: webkit/glue/webworker_impl.cc

Issue 224018: WebKit update 48700:48721.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Updated test expectations for realz. 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/src/ApplicationCacheHost.cpp ('k') | webkit/glue/webworkerclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webworker_impl.cc
===================================================================
--- webkit/glue/webworker_impl.cc (revision 27066)
+++ webkit/glue/webworker_impl.cc (working copy)
@@ -10,6 +10,7 @@
#include "DedicatedWorkerThread.h"
#include "GenericWorkerTask.h"
#include "KURL.h"
+#include "MessageEvent.h"
#include "MessagePort.h"
#include "MessagePortChannel.h"
#include "ScriptExecutionContext.h"
@@ -122,7 +123,8 @@
WTF::OwnPtr<WebCore::MessagePortArray> ports =
WebCore::MessagePort::entanglePorts(*context, channels.release());
- worker_context->dispatchMessage(message, ports.release());
+ worker_context->dispatchEvent(
+ WebCore::MessageEvent::create(ports.release(), message));
this_ptr->confirmMessageFromWorkerObject(
worker_context->hasPendingActivity());
« no previous file with comments | « webkit/api/src/ApplicationCacheHost.cpp ('k') | webkit/glue/webworkerclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698