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

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

Issue 2880733002: Partially implement WorkerFetchContext and WorkerThreadableLoadingContext and add virtual tests (Closed)
Patch Set: incorporated kinuko's comment Created 3 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/exported/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index e214fdd5b023b1c31f2322ddaa450bda00f1678a..1d95bc7f7ca1be780ffa564f9a9f131fe06d263c 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -31,7 +31,6 @@
#include "public/platform/WebURLRequest.h"
#include <memory>
-#include "platform/RuntimeEnabledFeatures.h"
#include "platform/loader/fetch/ResourceRequest.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/Noncopyable.h"
@@ -402,9 +401,7 @@ bool WebURLRequest::IsExternalRequest() const {
}
WebURLRequest::LoadingIPCType WebURLRequest::GetLoadingIPCType() const {
- if (RuntimeEnabledFeatures::loadingWithMojoEnabled())
- return WebURLRequest::LoadingIPCType::kMojo;
- return WebURLRequest::LoadingIPCType::kChromeIPC;
+ return resource_request_->GetLoadingIPCType();
}
void WebURLRequest::SetNavigationStartTime(double navigation_start_seconds) {

Powered by Google App Engine
This is Rietveld 408576698