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

Unified Diff: third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc

Issue 1926193002: Clean up ResourceLoader finish more, remove ConnectionState enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@finish_smaller
Patch Set: Created 4 years, 7 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/testing/weburl_loader_mock.cc
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
index 0da20c153c3e6af14c8db42afb00d94ff6cd1f67..35ff1445b906d42b638fb0cb0714a9b7019ba0ba 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
@@ -21,6 +21,7 @@ WebURLLoaderMock::WebURLLoaderMock(WebURLLoaderMockFactoryImpl* factory,
}
WebURLLoaderMock::~WebURLLoaderMock() {
+ cancel();
Nate Chapin 2016/05/12 20:51:12 This matches WebURLLoaderImpl, which cancel()s in
}
void WebURLLoaderMock::ServeAsynchronousRequest(

Powered by Google App Engine
This is Rietveld 408576698