Fix a crashing bug that can happen during browser shutdown. If shutdown happens while...
commitb0066b94924d97480dbd485663bb957792472ed7
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Feb 2014 14:49:04 +0000 (26 14:49 +0000)
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Feb 2014 14:49:04 +0000 (26 14:49 +0000)
tree38bf3c301249348bb308c3905d1d7d742dc54e11
parent260e35b18bb4fe92dc83c1205edd5cb2bef56c65
Fix a crashing bug that can happen during browser shutdown. If shutdown happens while task to commit changes to the db occurs the program crashes. The fix is to detect when we're in the STORING state and to return early.

BUG=330917,331918

Review URL: https://codereview.chromium.org/178733002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253449 0039d316-1c4b-4281-b951-d872f2087c98
webkit/browser/appcache/appcache_update_job.cc