| Index: chrome/browser/chrome_quota_permission_context.cc
|
| diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
|
| index eb29a92d5bcaa0d929ee7d6a4f874d06e3e5c3de..10a65100af3cdcb415c830edd7c42d9c51bf670d 100644
|
| --- a/chrome/browser/chrome_quota_permission_context.cc
|
| +++ b/chrome/browser/chrome_quota_permission_context.cc
|
| @@ -249,8 +249,8 @@ void ChromeQuotaPermissionContext::RequestQuotaPermission(
|
| if (!content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)) {
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::UI, FROM_HERE,
|
| - base::Bind(&ChromeQuotaPermissionContext::RequestQuotaPermission, this,
|
| - params, render_process_id, callback));
|
| + base::BindOnce(&ChromeQuotaPermissionContext::RequestQuotaPermission,
|
| + this, params, render_process_id, callback));
|
| return;
|
| }
|
|
|
| @@ -299,8 +299,9 @@ void ChromeQuotaPermissionContext::DispatchCallbackOnIOThread(
|
| if (!content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)) {
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&ChromeQuotaPermissionContext::DispatchCallbackOnIOThread,
|
| - this, callback, response));
|
| + base::BindOnce(
|
| + &ChromeQuotaPermissionContext::DispatchCallbackOnIOThread, this,
|
| + callback, response));
|
| return;
|
| }
|
|
|
|
|