fix: trace-startup crashing child process on macOS (#44276)
* fix: trace-startup crashing child process on macOS Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: disable test on linux arm * chore: also disable on linux arm64 --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
ad9bf6b041
commit
8b3f2c5d7c
4 changed files with 46 additions and 13 deletions
|
@ -34,6 +34,12 @@ class ElectronMainDelegate : public content::ContentMainDelegate {
|
|||
ElectronMainDelegate(const ElectronMainDelegate&) = delete;
|
||||
ElectronMainDelegate& operator=(const ElectronMainDelegate&) = delete;
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
void OverrideChildProcessPath();
|
||||
void OverrideFrameworkBundlePath();
|
||||
void SetUpBundleOverrides();
|
||||
#endif
|
||||
|
||||
protected:
|
||||
// content::ContentMainDelegate:
|
||||
std::string_view GetBrowserV8SnapshotFilename() override;
|
||||
|
@ -57,12 +63,6 @@ class ElectronMainDelegate : public content::ContentMainDelegate {
|
|||
#endif
|
||||
|
||||
private:
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
void OverrideChildProcessPath();
|
||||
void OverrideFrameworkBundlePath();
|
||||
void SetUpBundleOverrides();
|
||||
#endif
|
||||
|
||||
std::unique_ptr<content::ContentBrowserClient> browser_client_;
|
||||
std::unique_ptr<content::ContentClient> content_client_;
|
||||
std::unique_ptr<content::ContentGpuClient> gpu_client_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue