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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp

Issue 2835123005: Send the decoded size when response completed and stop summing in ResourceLoader::DidReceiveData() (Closed)
Patch Set: Created 3 years, 8 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/platform/loader/fetch/ResourceFetcherTest.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
index c695cda0e938fab275620c49b555ff93d11a261d..6b3047689356e9cb628ceb566dd552ee86c0ff1a 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
@@ -195,7 +195,7 @@ TEST_F(ResourceFetcherTest, NavigationTimingInfo) {
fetcher->GetNavigationTimingInfo();
ASSERT_TRUE(navigation_timing_info);
long long encoded_data_length = 123;
- resource->Loader()->DidFinishLoading(0.0, encoded_data_length, 0);
+ resource->Loader()->DidFinishLoading(0.0, encoded_data_length, 0, 0);
EXPECT_EQ(navigation_timing_info->TransferSize(), encoded_data_length);
// When there are redirects.

Powered by Google App Engine
This is Rietveld 408576698