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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2510333002: Send encoded_body_length to renderer when response completed (2/3) (Closed)
Patch Set: rebase 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/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 5bb2d65cdefaadd1923117005fdb4299d42923ff..6841b213fbd6e180f7a97976cf27cd7a8527820a 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10344,10 +10344,10 @@ class MultipleDataChunkDelegate : public WebURLLoaderTestDelegate {
int dataLength,
int encodedDataLength) override {
EXPECT_GT(dataLength, 16);
- originalClient->didReceiveData(loader, data, 16, 16, 16);
+ originalClient->didReceiveData(loader, data, 16, 16);
// This didReceiveData call shouldn't crash due to a failed assertion.
originalClient->didReceiveData(loader, data + 16, dataLength - 16,
- encodedDataLength - 16, dataLength - 16);
+ encodedDataLength - 16);
}
};
« no previous file with comments | « third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimNetwork.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698