chore: bump chromium to 122.0.6236.2 (main) (#40871)

* chore: bump chromium in DEPS to 122.0.6223.0

* 5129828: Removes special cases for selenium-atoms dependencies.

5129828

* chore: fixup patch indices

* 5139789: Deduplicate BrowserContext's ResourceContext

5139789

* 5148579: Simplify SelectFileDialog::Listener

5148579

* 5134038: Code Health: Use string_view in base::i18n::BreakIterator::SetText

5134038

* 5137427: Code Health: Use string_view in SpellCheck::SpellCheckWord

5137427

* [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left

Notable things in this commit:

* refactors `__indirect_binary_left_foldable`, making it slightly
different (but equivalent) to _`indirect-binary-left-foldable`_, which
improves readability (a [patch to the Working Paper][patch] was made)
* omits `__cpo` namespace, since it is not required for implementing
niebloids (a cleanup should happen in 2024)
* puts tests ensuring invocable robustness and dangling correctness
inside the correctness testing to ensure that the algorithms' results
are still correct

[patch]: https://github.com/cplusplus/draft/pull/6734

* chore: bump chromium in DEPS to 122.0.6224.0

* 5154766: [Refresh 2023] [GTK] Fix gap above toolbar with fractional scaling

5154766

* chore: fixup patch indices

* 5094458: Remove extra CGColorSpace parameters from skia and ui helpers

5094458

* chore: bump chromium in DEPS to 122.0.6226.0

* chore: update patches

* chore: bump chromium in DEPS to 122.0.6227.0

* chore: update patches

* chore: bump chromium in DEPS to 122.0.6228.0

* chore: update patches

* chore: bump chromium in DEPS to 122.0.6230.0

* chore: bump chromium in DEPS to 122.0.6232.0

* chore: bump chromium in DEPS to 122.0.6234.0

* chore: bump chromium in DEPS to 122.0.6236.2

* chore: update patches

* fix: remove --disable-color-correct-renderering

Per https://electronhq.slack.com/archives/CB6CG54DB/p1698444047862459 it is not used any more and was never documented.

* chore: add WEB_PRINTING to content permission converter

Unused in non-cros so no need to document

Ref: 5136178

* chore: Views is now vec<raw_ptr> instead of raw<T*>

Ref: 5140028

* spec: add Iterator to global intrinsics

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
This commit is contained in:
electron-roller[bot] 2024-01-11 19:33:40 +13:00 committed by GitHub
parent f36ceae024
commit 2e4e6f10de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 274 additions and 522 deletions

View file

@ -7,6 +7,7 @@
#include <iterator>
#include <memory>
#include <set>
#include <string_view>
#include <unordered_set>
#include <utility>
#include <vector>
@ -147,7 +148,7 @@ void SpellCheckClient::SpellCheckText() {
return;
}
text_iterator_.SetText(text.c_str(), text.size());
text_iterator_.SetText(text);
SpellCheckScope scope(*this);
std::u16string word;
@ -245,7 +246,7 @@ bool SpellCheckClient::IsContraction(
std::vector<std::u16string>* contraction_words) {
DCHECK(contraction_iterator_.IsInitialized());
contraction_iterator_.SetText(contraction.c_str(), contraction.length());
contraction_iterator_.SetText(contraction);
std::u16string word;
size_t word_start;