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 bf2cc3575ed7460bbdb9c7fd61005d1f81799c2a..df10e9fd67b86cc1e34bd053ce01cec4a1cba5f9 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -123,7 +123,7 @@ static PassOwnPtr<protocol::Network::Headers> buildObjectForHeaders(const HTTPHe |
{ |
OwnPtr<protocol::DictionaryValue> headersObject = protocol::DictionaryValue::create(); |
for (const auto& header : headers) |
- headersObject->setString(header.key.string(), header.value); |
+ headersObject->setString(header.key.getString(), header.value); |
protocol::ErrorSupport errors; |
return protocol::Network::Headers::parse(headersObject.get(), &errors); |
} |
@@ -748,7 +748,7 @@ void InspectorResourceAgent::willDispatchEventSourceEvent(ThreadableLoaderClient |
ThreadableLoaderClientRequestIdMap::iterator it = m_knownRequestIdMap.find(eventSource); |
if (it == m_knownRequestIdMap.end()) |
return; |
- frontend()->eventSourceMessageReceived(IdentifiersFactory::requestId(it->value), monotonicallyIncreasingTime(), eventName.string(), eventId.string(), data); |
+ frontend()->eventSourceMessageReceived(IdentifiersFactory::requestId(it->value), monotonicallyIncreasingTime(), eventName.getString(), eventId.getString(), data); |
} |
void InspectorResourceAgent::didFinishEventSourceRequest(ThreadableLoaderClient* eventSource) |