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

Unified Diff: third_party/WebKit/Source/modules/eventsource/EventSource.cpp

Issue 2686503005: Remove SerializedScriptValue::serialize and ScriptValueSerializer::serializeWTFString. (Closed)
Patch Set: Merge branch 'master' into delete-ssv Created 3 years, 10 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
Index: third_party/WebKit/Source/modules/eventsource/EventSource.cpp
diff --git a/third_party/WebKit/Source/modules/eventsource/EventSource.cpp b/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
index 646b47063596a54006294e8a2b2c683be53aff6a..742c9387dc235940ad1bd6a1ddff78bed31f09fd 100644
--- a/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
+++ b/third_party/WebKit/Source/modules/eventsource/EventSource.cpp
@@ -350,9 +350,8 @@ void EventSource::onMessageEvent(const AtomicString& eventType,
const String& data,
const AtomicString& lastEventId) {
MessageEvent* e = MessageEvent::create();
- e->initMessageEvent(eventType, false, false,
- SerializedScriptValue::serialize(data),
- m_eventStreamOrigin, lastEventId, 0, nullptr);
+ e->initMessageEvent(eventType, false, false, data, m_eventStreamOrigin,
+ lastEventId, 0, nullptr);
InspectorInstrumentation::willDispatchEventSourceEvent(
getExecutionContext(), this, eventType, lastEventId, data);
« no previous file with comments | « third_party/WebKit/Source/core/events/MessageEvent.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698