diff --git a/patch/patches/chrome_browser_profiles.patch b/patch/patches/chrome_browser_profiles.patch index d9272d91b..80ad9e8b8 100644 --- a/patch/patches/chrome_browser_profiles.patch +++ b/patch/patches/chrome_browser_profiles.patch @@ -1,11 +1,11 @@ diff --git chrome/browser/profiles/incognito_helpers.cc chrome/browser/profiles/incognito_helpers.cc -index ce4f72b98a05..f7d57b854399 100644 +index ce4f72b98a05..39f7c3140c6e 100644 --- chrome/browser/profiles/incognito_helpers.cc +++ chrome/browser/profiles/incognito_helpers.cc @@ -8,18 +8,41 @@ namespace chrome { - + +namespace { +BrowserContextIncognitoHelper* g_helper = nullptr; +} // namespace diff --git a/patch/patches/crashpad_1995.patch b/patch/patches/crashpad_1995.patch index 7d2e2537b..9d2d0d478 100644 --- a/patch/patches/crashpad_1995.patch +++ b/patch/patches/crashpad_1995.patch @@ -30,13 +30,13 @@ index 887e13776dd2..de30ebff25e4 100644 void SetActiveExtensions(const std::set& extensions) { diff --git chrome/common/crash_keys.h chrome/common/crash_keys.h -index bcf172e645a2..a46141ea43e0 100644 +index bcf172e645a2..f879aa745adf 100644 --- chrome/common/crash_keys.h +++ chrome/common/crash_keys.h @@ -17,6 +17,10 @@ class CommandLine; namespace crash_keys { - + +// Returns true if the specified command-line flag should be excluded from +// crash reporting. +bool IsBoringChromeSwitch(const std::string& flag);