Skip to content

Commit

Permalink
3671199: Remove ContentMainDelegate::PostFieldTrialInitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jun 3, 2022
1 parent fccfc1b commit 6392cfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions shell/app/electron_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ ElectronMainDelegate::RunProcess(
return std::move(main_function_params);
}

bool ElectronMainDelegate::ShouldCreateFeatureList() {
return false;
bool ElectronMainDelegate::ShouldCreateFeatureList(InvokedIn invoked_in) {
return invoked_in == InvokedIn::kChildProcess;
}

bool ElectronMainDelegate::ShouldLockSchemeRegistry() {
Expand Down
2 changes: 1 addition & 1 deletion shell/app/electron_main_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ElectronMainDelegate : public content::ContentMainDelegate {
absl::variant<int, content::MainFunctionParams> RunProcess(
const std::string& process_type,
content::MainFunctionParams main_function_params) override;
bool ShouldCreateFeatureList() override;
bool ShouldCreateFeatureList(InvokedIn invoked_in) override;
bool ShouldLockSchemeRegistry() override;
#if BUILDFLAG(IS_LINUX)
void ZygoteForked() override;
Expand Down

0 comments on commit 6392cfb

Please sign in to comment.