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

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

Issue 2540023003: Dispatch encoded_data_length separately in content/child (Closed)
Patch Set: rebase Created 4 years 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 380943d4bd35d176f42aaf4746e2d270e45c48ab..b8b3a4f5c8491d2c01b2d62118701dd86f39d39d 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10477,13 +10477,11 @@ class MultipleDataChunkDelegate : public WebURLLoaderTestDelegate {
public:
void didReceiveData(WebURLLoaderClient* originalClient,
const char* data,
- int dataLength,
- int encodedDataLength) override {
+ int dataLength) {
tzik 2016/12/06 11:31:19 override?
yhirano 2016/12/07 12:06:58 Done.
EXPECT_GT(dataLength, 16);
- originalClient->didReceiveData(data, 16, 16);
+ originalClient->didReceiveData(data, 16);
// This didReceiveData call shouldn't crash due to a failed assertion.
- originalClient->didReceiveData(data + 16, dataLength - 16,
- encodedDataLength - 16);
+ originalClient->didReceiveData(data + 16, dataLength - 16);
}
};

Powered by Google App Engine
This is Rietveld 408576698