Update to Chromium version 89.0.4389.0 (#843830)

- SSE3 is now required on x86 processors (see https://crbug.com/1123353).
This commit is contained in:
Marshall Greenblatt
2021-01-27 18:13:12 -05:00
parent 119415b8e9
commit 5ef0fb8ac8
118 changed files with 879 additions and 1355 deletions

View File

@@ -47,7 +47,7 @@ SyncValueStoreCache::~SyncValueStoreCache() {
}
void SyncValueStoreCache::RunWithValueStoreForExtension(
const StorageCallback& callback,
StorageCallback callback,
scoped_refptr<const Extension> extension) {
DCHECK(IsOnBackendSequence());
@@ -58,9 +58,9 @@ void SyncValueStoreCache::RunWithValueStoreForExtension(
if (extension->permissions_data()->HasAPIPermission(
APIPermission::kUnlimitedStorage)) {
WeakUnlimitedSettingsStorage unlimited_storage(storage);
callback.Run(&unlimited_storage);
std::move(callback).Run(&unlimited_storage);
} else {
callback.Run(storage);
std::move(callback).Run(storage);
}
}

View File

@@ -30,7 +30,7 @@ class SyncValueStoreCache : public ValueStoreCache {
// ValueStoreCache implementation:
void RunWithValueStoreForExtension(
const StorageCallback& callback,
StorageCallback callback,
scoped_refptr<const Extension> extension) override;
void DeleteStorageSoon(const std::string& extension_id) override;