| Index: third_party/WebKit/Source/core/page/EventSource.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/EventSource.cpp b/third_party/WebKit/Source/core/page/EventSource.cpp
|
| index c741497f3684eaee08759375067576d9a6effc15..1c6b1be6a8902772c484152ebf8fae4ab29a781c 100644
|
| --- a/third_party/WebKit/Source/core/page/EventSource.cpp
|
| +++ b/third_party/WebKit/Source/core/page/EventSource.cpp
|
| @@ -318,7 +318,7 @@ void EventSource::didFailRedirectCheck()
|
| void EventSource::onMessageEvent(const AtomicString& eventType, const String& data, const AtomicString& lastEventId)
|
| {
|
| MessageEvent* e = MessageEvent::create();
|
| - e->initMessageEvent(eventType, false, false, SerializedScriptValueFactory::instance().create(data), m_eventStreamOrigin, lastEventId, 0, nullptr);
|
| + e->initMessageEvent(eventType, false, false, SerializedScriptValue::serialize(data), m_eventStreamOrigin, lastEventId, 0, nullptr);
|
|
|
| InspectorInstrumentation::willDispatchEventSourceEvent(getExecutionContext(), this, eventType, lastEventId, data);
|
| dispatchEvent(e);
|
|
|