Skip to content

Commit

Permalink
Merge pull request #13772 from brave/android_disable_speculation_rules
Browse files Browse the repository at this point in the history
Fixes error thrown when speculation rules are disabled
  • Loading branch information
samartnik authored and emerick committed Jun 14, 2022
1 parent 66bfe8a commit ffce1c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions renderer/brave_content_renderer_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ void BraveContentRendererClient::
"FileSystemAccessAPIExperimental", false);
}
blink::WebRuntimeFeatures::EnableFeatureFromString("Serial", false);
blink::WebRuntimeFeatures::EnableFeatureFromString(
"SpeculationRulesPrefetchProxy", false);
}

BraveContentRendererClient::~BraveContentRendererClient() = default;
Expand Down

0 comments on commit ffce1c6

Please sign in to comment.