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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.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/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 0ee9c2188c0103292fafc4003cb4696e0add2dff..a0f21c8e41034df0eee161448d2e4e2f586f05a0 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -429,8 +429,8 @@ long long WebURLResponse::encodedDataLengthForTesting() const {
return m_resourceResponse->encodedDataLength();
}
-void WebURLResponse::addToEncodedDataLength(long long length) {
- m_resourceResponse->addToEncodedDataLength(length);
+void WebURLResponse::setEncodedDataLength(long long length) {
+ m_resourceResponse->setEncodedDataLength(length);
}
long long WebURLResponse::encodedBodyLengthForTesting() const {

Powered by Google App Engine
This is Rietveld 408576698