Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from Chromium 90 to Chromium 91. #8307

Merged
merged 141 commits into from
May 6, 2021
Merged

Upgrade from Chromium 90 to Chromium 91. #8307

merged 141 commits into from
May 6, 2021

Conversation

mkarolin
Copy link
Collaborator

@mkarolin mkarolin commented Mar 19, 2021

Fixes brave/brave-browser#14848
Related PR: brave/brave-browser#14849

Submitter Checklist:

  • I confirm that no security/privacy review is needed, or that I have requested one
  • There is a ticket for my issue
  • Used Github auto-closing keywords in the PR description above
  • Wrote a good PR/commit description
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally: npm run test -- brave_browser_tests, npm run test -- brave_unit_tests, npm run lint, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed)

Reviewer Checklist:

  • A security review is not needed, or a link to one is included in the PR description
  • New files have MPL-2.0 license header
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

@mkarolin mkarolin added the CI/run-network-audit Run network-audit label Mar 19, 2021
@mariospr mariospr force-pushed the cr91 branch 10 times, most recently from 6a4190c to 22f4c59 Compare March 25, 2021 11:36
@mkarolin mkarolin changed the title Upgrade from Chromium 90 to Chromium 91. WIP: Upgrade from Chromium 90 to Chromium 91. Mar 25, 2021
@mkarolin mkarolin marked this pull request as ready for review March 25, 2021 16:29
@mkarolin mkarolin requested a review from bridiver as a code owner March 29, 2021 15:32
@mkarolin mkarolin requested review from a team as code owners April 3, 2021 18:03
samartnik and others added 10 commits May 5, 2021 13:20
Chromium change:
https://chromium.googlesource.com/chromium/src/+/85285b04a02b765d7e4741f1e1588ae520c226d6

[LSC] Replace base::string16 with std::u16string in //[a-e]*

This change replaces base::string16 with std::u16string in //[a-e]*.

Reproduction steps:
$ git grep -lw 'base::string16' [a-e]* | \
      xargs sed -i 's/\bbase::string16\b/std::u16string/g'
$ git cl format

Bug: 1184339
Chromium change:
https://chromium.googlesource.com/chromium/src/+/26eb7c14f9b19ae819bb7dc9a8d10e865a43fcc8

Android: Remove deps on chrome_java in c.b.search_engines

The package c.b.search_engines is used by several components in core
chrome.  This CL removes its dependencies on chrome_java to pave
the way for the other components to be modularized easily.

Main dependencies handled are:
- SettingsLauncherImpl: Injected from ToolbarManager. This is
      a stateless class so it can be shared/reused where the code
      can be simplified.
- LocaleManager: Injects a runnable wrapping
      LocaleManager#setSearchEngineAutoSwitch(false) to
      SearchEngineAdapter

Bug: 1171512
Also, removes unnecessary wrappring of base::Values into another
base::Value when using them in SetKey.
Chromium change:

https://chromium.googlesource.com/chromium/src/+/2cd13ac08252eedd9ac6490bfbf6cdfe249f7cc8

commit 2cd13ac08252eedd9ac6490bfbf6cdfe249f7cc8
Author: Peter Kasting <pkasting@chromium.org>
Date:   Thu Mar 11 04:00:02 2021 +0000

    Remove the padded button ink drop color.

    This can just be computed locally.

    Bug: none
Otherwise optimized builds will fail due to not being able to find
the associated *.m.js files during the rollup process.
@mkarolin mkarolin added CI/run-network-audit Run network-audit and removed CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 labels May 5, 2021
This applies upstream patch that fixes
https://bugs.chromium.org/p/chromium/issues/detail?id=1198567

Issue 1198567: Headless browser freezes on Windows unless launched with '--disable-gpu'

The fix is
https://chromium-review.googlesource.com/c/chromium/src/+/2872065 and
has not been merged into M91 yet.

https://chromium.googlesource.com/chromium/src/+/641d54d756baff01484214b16b00b4935a8be657%5E%21/#F0

commit	641d54d756baff01484214b16b00b4935a8be657
author	Alexis Hetu <sugoi@google.com>

Revert using SwANGLE with kOverrideUseSoftwareGLForTests

kOverrideUseSoftwareGLForTests is unfortunately not only used for tests
and ends up being used for headless mode in the released version of
Chrome. To avoid issues, we'll remove it for now, merge in beta and
revert this CL afterwards, in order to give us enough time to write a
proper fix for this.

Bug: chromium:1060139
@mkarolin mkarolin added CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux labels May 6, 2021
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/64da068f017ecd585a60f420f98270b3469397c1

commit 64da068f017ecd585a60f420f98270b3469397c1
Author: Daniel Cheng <dcheng@chromium.org>
Date:   Tue Mar 16 07:30:09 2021 +0000

    [base] Disallow base::BindOnce() + base::Passed() everywhere.

    std::move() and base::Passed() mean the same thing for base::BindOnce(),
    so use the standard library idiom instead.

    Bug: 1180750
@mkarolin mkarolin merged commit cb022ac into master May 6, 2021
@mkarolin mkarolin deleted the cr91 branch May 6, 2021 15:30
@mkarolin mkarolin added this to the 1.26.x - Nightly milestone May 6, 2021
mkarolin added a commit that referenced this pull request May 18, 2021
Upgrade from Chromium 90 to Chromium 91.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/run-network-audit Run network-audit CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade from Chromium 90 to Chromium 91.