This is a sub-task of https://bugs.webkit.org/show_bug.cgi?id=107475. Breaking out as a step for easier review.
Change DatabaseTask and DatabaseThread to use DatabaseBackendAsync instead of Database. DatabaseTask and DatabaseThread belongs in the backend and should ideally not be referencing the front end Database directly. For now, we change it to work their interfaces with DatabaseBackendAsync. However, in the implementation, they are still thunking over to Database to do the real work since that functionality hasn't been moved over to DatabaseBackendAsync yet.
Created attachment 186736 [details]
Comment on attachment 186736 [details]
This is a small patch. May I have a review please? Thanks.
Thanks for the review. Landed in r141956: <http://trac.webkit.org/changeset/141956>.