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

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

Issue 1893673004: Ensure RemoteFontFaceSource doesn't try to start a load in a detached document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf961a08663ce53671e6719f75c22ac868fade2c..0da20c153c3e6af14c8db42afb00d94ff6cd1f67 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
@@ -154,9 +154,10 @@ void WebURLLoaderMock::setDefersLoading(bool deferred) {
NOTIMPLEMENTED();
}
-void WebURLLoaderMock::setLoadingTaskRunner(WebTaskRunner*) {
+void WebURLLoaderMock::setLoadingTaskRunner(WebTaskRunner* runner) {
// In principle this is NOTIMPLEMENTED(), but if we put that here it floods
// the console during webkit unit tests, so we leave the function empty.
+ DCHECK(runner);
}
WeakPtr<WebURLLoaderMock> WebURLLoaderMock::GetWeakPtr() {
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698