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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 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/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)

Powered by Google App Engine
This is Rietveld 408576698