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

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

Issue 2540023003: Dispatch encoded_data_length separately in content/child (Closed)
Patch Set: fix 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..3c169be3df313cdb6a20ada7ac6c17a364e9605f 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) override {
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