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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceResponse.cpp

Issue 2521503002: Rename ResourceResponse::addToEncodedDataSize() to setEncodedDataSize() (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/platform/network/ResourceResponse.cpp
diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.cpp b/third_party/WebKit/Source/platform/network/ResourceResponse.cpp
index 0e87da52cc644ed91c15b6b4d49d812036839a23..0c615c7b5d5aaa96f8cc92bcacd9b79b69539dc1 100644
--- a/third_party/WebKit/Source/platform/network/ResourceResponse.cpp
+++ b/third_party/WebKit/Source/platform/network/ResourceResponse.cpp
@@ -599,8 +599,8 @@ void ResourceResponse::setResourceLoadInfo(
m_resourceLoadInfo = loadInfo;
}
-void ResourceResponse::addToEncodedDataLength(long long value) {
- m_encodedDataLength += value;
+void ResourceResponse::setEncodedDataLength(long long value) {
+ m_encodedDataLength = value;
}
void ResourceResponse::addToEncodedBodyLength(long long value) {
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.h ('k') | third_party/WebKit/public/platform/WebURLResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698