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

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

Issue 1730383003: DevTools: consistently use Maybe for optional values in the protocol generator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 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/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 30e79b6404b7c1142e24817c2a3ce11d0bdbb094..d1333510b5851c4a654672a546e53492f0ef37c0 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
@@ -360,7 +360,7 @@ static PassOwnPtr<protocol::Network::Response> buildObjectForResourceResponse(co
responseObject->setRequestHeadersText(response.resourceLoadInfo()->requestHeadersText);
}
- AtomicString remoteIPAddress = response.remoteIPAddress();
+ String remoteIPAddress = response.remoteIPAddress();
if (!remoteIPAddress.isEmpty()) {
responseObject->setRemoteIPAddress(remoteIPAddress);
responseObject->setRemotePort(response.remotePort());

Powered by Google App Engine
This is Rietveld 408576698