Imported from: https://chromium.googlesource.com/chromium/src/+/ccbfe27c8d2b4fcb7ddc98064ec6aa5820fcfe9a