Commit 347362dc authored by droger's avatar droger Committed by Commit bot

CheckHasServiceWorkerCallback always called on the UI thread

This updates the code to match the documentation in
service_worker_context.h.

BUG=591427

Review-Url: https://codereview.chromium.org/2566623004
Cr-Commit-Position: refs/heads/master@{#437531}
parent 2c4b5bc5
......@@ -570,7 +570,7 @@ void ServiceWorkerContextWrapper::CheckHasServiceWorker(
return;
}
if (!context_core_) {
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(callback, false));
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment