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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix Created 3 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
Index: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index d2376b9bc9e024b6809b1340f8901c4562ed0092..ba5f090b4e771e1a7f240f4fd0fb9f90e44b5726 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -402,6 +402,8 @@ bool WebURLRequest::isExternalRequest() const {
}
WebURLRequest::LoadingIPCType WebURLRequest::getLoadingIPCType() const {
+ if (m_resourceRequest->isMojoIPCForced())
+ return WebURLRequest::LoadingIPCType::Mojo;
if (RuntimeEnabledFeatures::loadingWithMojoEnabled())
return WebURLRequest::LoadingIPCType::Mojo;
return WebURLRequest::LoadingIPCType::ChromeIPC;

Powered by Google App Engine
This is Rietveld 408576698