Bug 108995

Summary: webdatabase: Change DatabaseTask and DatabaseThread to use DatabaseBackendAsync instead of Database.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: WebCore Misc.Assignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, beidson, michaeln, sam, saraworld2323
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 107475    
Attachments:
Description Flags
the patch. sam: review+

Description Mark Lam 2013-02-05 17:55:04 PST
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.
Comment 1 Mark Lam 2013-02-05 18:02:52 PST
Created attachment 186736 [details]
the patch.
Comment 2 Mark Lam 2013-02-05 18:06:41 PST
Comment on attachment 186736 [details]
the patch.

This is a small patch.  May I have a review please?  Thanks.
Comment 3 Mark Lam 2013-02-05 18:13:59 PST
Thanks for the review.  Landed in r141956: <http://trac.webkit.org/changeset/141956>.