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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcherTest.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/core/fetch/ResourceFetcherTest.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
index 52ef616575ffca68b8fee03209de847d06041dea..6bd7bed2afc9c3c844e03de03d8aefd69aa38561 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
@@ -355,7 +355,7 @@ class ScopedMockRedirectRequester {
redirectResponse.setURL(redirectURL);
redirectResponse.setHTTPStatusCode(301);
redirectResponse.setHTTPHeaderField(HTTPNames::Location, toURL);
- redirectResponse.addToEncodedDataLength(kRedirectResponseOverheadBytes);
+ redirectResponse.setEncodedDataLength(kRedirectResponseOverheadBytes);
Platform::current()->getURLLoaderMockFactory()->registerURL(
redirectURL, redirectResponse, "");
}
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | third_party/WebKit/Source/platform/exported/WebURLResponse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698