From: Gajendra N Date: Tue, 7 Mar 2023 10:27:10 +0000 (+0530) Subject: fixup! [M108 Migration] Support unlimitedstorage privilege for Indexed DB X-Git-Tag: submit/tizen/20230314.160016~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F289423%2F2;p=platform%2Fframework%2Fweb%2Fchromium-efl.git fixup! [M108 Migration] Support unlimitedstorage privilege for Indexed DB Fixes crash error occured during youtube page load. In original patch, std::move was called on already moved pointer which went unnoticed during migration. Change-Id: Id853af04730666f609d74e102bdda44002cd8361 Signed-off-by: Gajendra N --- diff --git a/storage/browser/quota/quota_manager_proxy.cc b/storage/browser/quota/quota_manager_proxy.cc index 6bf3767..d21ee12 100644 --- a/storage/browser/quota/quota_manager_proxy.cc +++ b/storage/browser/quota/quota_manager_proxy.cc @@ -558,10 +558,10 @@ void QuotaManagerProxy::GetUsageAndQuota( (type == blink::mojom::StorageType::kTemporary) ? base::BindOnce(&QuotaManagerImpl::GetTizenUnlimitedStoragePrivilege, quota_manager_impl_, storage_key.origin().GetURL(), - id, transaction_size, std::move(callback)) + id, transaction_size, std::move(respond)) : #endif - std::move(callback); + std::move(respond); quota_manager_impl_->GetUsageAndQuota(storage_key, type, std::move(wrapped_callback)); }