Closed Bug 1779859 Opened 3 years ago Closed 2 years ago

[wpt-sync] Sync PR 34863 - Update base::Value usage in components/translate/core/browser/.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34863 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34863
Details from upstream follow.

Matt Menke <mmenke@chromium.org> wrote:

Update base::Value usage in components/translate/core/browser/.

In particular, use Value::List and Value::Dict to manipulate Lists and
Dicts, instead of deprecated APIs (Creating them from ListStorage,
GetListDeprecated(), Value::SetKey(), Value::FindKey(), etc).

Bug: 1187001, 1338341
Change-Id: I2a69c336b96f30c56468db12d9dd4551bc4c94ec
Reviewed-on: https://chromium-review.googlesource.com/3763047
WPT-Export-Revision: a68b06953db11b316cb3c8f57da5168415ae9f1b

PR 34863 applied with additional changes from upstream: 77d05b2b2cdecc1dfad3967d38a0300c702a8dc0, bc4ffb9f60cde12204dc0c76ba670b00cdb2e24a
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.