Skip to content

Commit

Permalink
Enable blink-side switch for LoadingWithMojo
Browse files Browse the repository at this point in the history
As we have launched LoadingWithMojo feature, this change enables the
the blink side switch. This does not affect the product behavior because
the chromium side switch has already been enabled and the blink side
switch is turned on by it. This only affects layout tests behavior.

Bug: 603396
Change-Id: Ifaa2e519e7aad51da1c0789c024ddb887e8e1cca
Reviewed-on: https://chromium-review.googlesource.com/805455
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522681}
  • Loading branch information
yutakahirano authored and Commit Bot committed Dec 8, 2017
1 parent 42af388 commit 8de90b8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ void WebRuntimeFeatures::EnableLazyParseCSS(bool enable) {
}

void WebRuntimeFeatures::EnableLoadingWithMojo(bool enable) {
RuntimeEnabledFeatures::SetLoadingWithMojoEnabled(enable);
}

void WebRuntimeFeatures::EnableMediaCapture(bool enable) {
Expand Down Expand Up @@ -209,7 +208,6 @@ void WebRuntimeFeatures::EnableNotifications(bool enable) {
}

void WebRuntimeFeatures::EnableNotificationsWithMojo(bool enable) {
RuntimeEnabledFeatures::SetLoadingWithMojoEnabled(enable);
}

void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ ResourceRequest::ResourceRequest(const KURL& url)
is_external_request_(false),
cors_preflight_policy_(
network::mojom::CORSPreflightPolicy::kConsiderPreflight),
loading_ipc_type_(RuntimeEnabledFeatures::LoadingWithMojoEnabled()
? WebURLRequest::LoadingIPCType::kMojo
: WebURLRequest::LoadingIPCType::kChromeIPC),
loading_ipc_type_(WebURLRequest::LoadingIPCType::kMojo),
is_same_document_navigation_(false),
input_perf_metric_report_policy_(
InputToLoadPerfMetricReportPolicy::kNoReport),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@
},
{
name: "LoadingWithMojo",
status: "stable",
},
{
name: "LocksAPI",
Expand Down

0 comments on commit 8de90b8

Please sign in to comment.