Index: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
index b0e59f406ea7742316de118ba5918d8a41921fff..4e7f7ee55d02b31ccbb946c33e0c3ce79694fcd0 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -726,12 +726,12 @@ void InspectorResourceAgent::willSendEventSourceRequest(ThreadableLoaderClient* |
m_pendingRequestType = InspectorPageAgent::EventSourceResource; |
} |
-void InspectorResourceAgent::willDispachEventSourceEvent(ThreadableLoaderClient* eventSource, const AtomicString& eventName, const AtomicString& eventId, const Vector<UChar>& data) |
+void InspectorResourceAgent::willDispatchEventSourceEvent(ThreadableLoaderClient* eventSource, const AtomicString& eventName, const AtomicString& eventId, const String& data) |
{ |
ThreadableLoaderClientRequestIdMap::iterator it = m_knownRequestIdMap.find(eventSource); |
if (it == m_knownRequestIdMap.end()) |
return; |
- frontend()->eventSourceMessageReceived(IdentifiersFactory::requestId(it->value), monotonicallyIncreasingTime(), eventName.string(), eventId.string(), String(data)); |
+ frontend()->eventSourceMessageReceived(IdentifiersFactory::requestId(it->value), monotonicallyIncreasingTime(), eventName.string(), eventId.string(), data); |
} |
void InspectorResourceAgent::didFinishEventSourceRequest(ThreadableLoaderClient* eventSource) |