-
Notifications
You must be signed in to change notification settings - Fork 887
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 85 to Chromium 86. #6195
Conversation
032a186
to
20f77b1
Compare
12e7c5a
to
166e4af
Compare
e267ddf
to
2b73327
Compare
@@ -91,7 +91,7 @@ - (instancetype)initWithConfiguration:(BATBraveRewardsConfiguration *)configurat | |||
adsClass:(nullable Class)adsClass | |||
{ | |||
if ((self = [super init])) { | |||
if (!base::MessageLoopCurrent::Get()) { | |||
if (!base::CurrentThread::Get()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @Brandon-T Sync will have these changes in c86 instead as you moved this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kylehickinson I'll take care of it, it will cause a build error anyway
The welcome page was not loading due to the following JS error: Uncaught ReferenceError: PromiseResolver is not defined at Object.sendWithPromise (cr.js:344) at welcomeUtils.ts:16 at Object.dispatch (index.js:8) at Object.getSearchEngineProviders (redux.js:462) at loadWelcomeData (brave_welcome.tsx:26) at HTMLDocument.initialize (brave_welcome.tsx:31) As it was also done already for brave_new_tab.html (search for the "Fixes NTP" commit), we fix this error by doing this: - Removed import of cr.html as import has been deprecated - Added sourcing of promise_resolver.js to brave_welcome.html
via chromium_src override of //extensions/common/constants.h/cc
Update shields default cookies setting accordingly.
Chromium change: https://chromium.googlesource.com/chromium/src/+/4dbedadecc16a6769451f30751ee52f259874a21 commit 4dbedadecc16a6769451f30751ee52f259874a21 Author: Patrick Noland <[email protected]> Date: Mon Aug 10 18:29:41 2020 +0000 [ToolbarMVC] Create menu_button package and MenuButtonCoordinator This starts the process of hiding the MenuButton view behind the coordinator. Primarily, ToolbarAppMenuM nager (renamed to MenuButtonCoordinator) now directly manipulates the MenuButton instead of doing so through TopToolbarCoordinator. MenuButton related functionality is removed from the Toolbar interface, with a few me hanical adjustments to match. Bug: 1086676
- Moved a dep under extensions guard - Removed unused headers includes.
Original code had both OS_MACOSX and OS_IOS, which were incorrectly replaced with just OS_MAC. Adjusted to use OS_APPLE so that both platforms are covered again.
@@ -34,7 +34,7 @@ LocaleHelper* LocaleHelper::GetInstance() { | |||
return GetInstanceImpl(); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should not include iOS, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tmancey the original code (current master
) has both OS_MACOSX and OS_IOS, see
https://github.com/brave/brave-core/blob/master/components/l10n/browser/locale_helper.cc#L37
If I don't have IOS in there, I get a compilation error when building for iOS in Debug about a duplicate symbol GetInstanceImp
defined in locale_helper.o
and locale_helper_ios.o
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes apologies as was checking in my mobile and missed that. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
When uplifting, also uplift fixes for:
|
Upgrade from Chromium 85 to Chromium 86.
Fixes brave/brave-browser#10884
Related PR: brave/brave-browser#10886
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.