Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Issue 1639973002: FileSystem: Prevent iterator from being deleted after database. (Closed)

Created:
4 years, 11 months ago by cmumford
Modified:
4 years, 11 months ago
Reviewers:
nhiroki
CC:
chromium-reviews, kinuko+fileapi, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FileSystem: Prevent iterator from being deleted after database. leveldb::Iterator's must be deleted before leveldb::DB. No known crashes for these two functions have been observed. Committed: https://crrev.com/1665eaf43626e138d805ddc4df79190b734a18c0 Cr-Commit-Position: refs/heads/master@{#371814}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -12 lines) Patch
M storage/browser/fileapi/sandbox_directory_database.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M storage/browser/fileapi/sandbox_directory_database.cc View 1 1 chunk +9 lines, -5 lines 0 comments Download
M storage/browser/fileapi/sandbox_origin_database.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M storage/browser/fileapi/sandbox_origin_database.cc View 1 1 chunk +10 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
cmumford
4 years, 11 months ago (2016-01-26 23:40:52 UTC) #2
nhiroki
LGTM. Thank you for fixing this! Are you making a similar patch for ServiceWorkerDatabase? If ...
4 years, 11 months ago (2016-01-27 00:48:00 UTC) #3
cmumford
On 2016/01/27 00:48:00, nhiroki wrote: > LGTM. Thank you for fixing this! > > Are ...
4 years, 11 months ago (2016-01-27 03:08:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639973002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639973002/1
4 years, 11 months ago (2016-01-27 03:09:23 UTC) #6
nhiroki
On 2016/01/27 03:08:16, cmumford wrote: > On 2016/01/27 00:48:00, nhiroki wrote: > > LGTM. Thank ...
4 years, 11 months ago (2016-01-27 03:41:11 UTC) #8
cmumford
Comments added - submitting now. https://codereview.chromium.org/1639973002/diff/1/storage/browser/fileapi/sandbox_directory_database.cc File storage/browser/fileapi/sandbox_directory_database.cc (right): https://codereview.chromium.org/1639973002/diff/1/storage/browser/fileapi/sandbox_directory_database.cc#newcode848 storage/browser/fileapi/sandbox_directory_database.cc:848: scoped_ptr<leveldb::Iterator> iter( On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 16:33:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639973002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639973002/20001
4 years, 11 months ago (2016-01-27 16:34:13 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-27 17:36:43 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 17:37:51 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1665eaf43626e138d805ddc4df79190b734a18c0
Cr-Commit-Position: refs/heads/master@{#371814}

Powered by Google App Engine
This is Rietveld 408576698