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

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

Issue 2521483002: Remove ResourceLoaderInfo::encodedDataLength (Closed)
Patch Set: fix Created 4 years, 1 month 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/InspectorNetworkAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
index 02ff9331215d9cbebb3de32c0d78805420a1b8f6..7a8cae8fb94cd591574bea7c0d7262addc5b0431 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -363,10 +363,7 @@ buildObjectForResourceResponse(const ResourceResponse& response,
else
headersMap = response.httpHeaderFields();
- int64_t encodedDataLength =
- response.resourceLoadInfo()
- ? response.resourceLoadInfo()->encodedDataLength
- : -1;
+ int64_t encodedDataLength = response.encodedDataLength();
String securityState = protocol::Security::SecurityStateEnum::Unknown;
switch (response.getSecurityStyle()) {
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698