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

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

Issue 2537753002: Remove WebURLLoader* argument from WebURLLoaderClient methods (Closed)
Patch Set: a 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 6841b213fbd6e180f7a97976cf27cd7a8527820a..a1a7b2487d676abe8b8a361adae0a16d7175126c 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10339,14 +10339,13 @@ TEST_F(WebFrameTest, ScriptPriority) {
class MultipleDataChunkDelegate : public WebURLLoaderTestDelegate {
public:
void didReceiveData(WebURLLoaderClient* originalClient,
- WebURLLoader* loader,
const char* data,
int dataLength,
int encodedDataLength) override {
EXPECT_GT(dataLength, 16);
- originalClient->didReceiveData(loader, data, 16, 16);
+ originalClient->didReceiveData(data, 16, 16);
// This didReceiveData call shouldn't crash due to a failed assertion.
- originalClient->didReceiveData(loader, data + 16, dataLength - 16,
+ originalClient->didReceiveData(data + 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