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

Issue 2786463002: [IndexedDB] Fix cursor pooling IsValid(). (Closed)

Created:
3 years, 8 months ago by dmurph
Modified:
3 years, 8 months ago
Reviewers:
jsbell, cmumford, pwnall
CC:
chromium-reviews, jam, jsbell+idb_chromium.org, darin-cc_chromium.org, cmumford
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[IndexedDB] Fix cursor pooling IsValid(). We accidentally didn't handle the case where the iterator was evicted and invalid. This is now much more explicit and tested. R=pwnall,cmumford BUG=705837 Review-Url: https://codereview.chromium.org/2786463002 Cr-Commit-Position: refs/heads/master@{#460526} Committed: https://chromium.googlesource.com/chromium/src/+/c785f2a0d65bbac2f5f896862e1ad21b38acb3ad

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc View 1 1 chunk +10 lines, -2 lines 0 comments Download
M content/browser/indexed_db/leveldb/leveldb_transaction_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
dmurph
Hey Chris & Victor, I made a mistake in the last patch - this fixes ...
3 years, 8 months ago (2017-03-28 21:49:34 UTC) #3
pwnall
On 2017/03/28 21:49:34, dmurph wrote: > Hey Chris & Victor, > > I made a ...
3 years, 8 months ago (2017-03-28 23:00:45 UTC) #4
dmurph
On 2017/03/28 23:00:45, pwnall wrote: > On 2017/03/28 21:49:34, dmurph wrote: > > Hey Chris ...
3 years, 8 months ago (2017-03-28 23:04:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2786463002/1
3 years, 8 months ago (2017-03-28 23:05:56 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/396935)
3 years, 8 months ago (2017-03-28 23:48:57 UTC) #10
dmurph
Ah, I need an owner. Chris or Josh, can you ptal?
3 years, 8 months ago (2017-03-29 01:15:10 UTC) #12
cmumford
lgtm % two nits. https://codereview.chromium.org/2786463002/diff/1/content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc File content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc (right): https://codereview.chromium.org/2786463002/diff/1/content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc#newcode47 content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc:47: DCHECK(iterator_); nit: Suggest removing the ...
3 years, 8 months ago (2017-03-29 17:00:20 UTC) #13
dmurph
https://codereview.chromium.org/2786463002/diff/1/content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc File content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc (right): https://codereview.chromium.org/2786463002/diff/1/content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc#newcode47 content/browser/indexed_db/leveldb/leveldb_iterator_impl.cc:47: DCHECK(iterator_); On 2017/03/29 17:00:20, cmumford wrote: > nit: Suggest ...
3 years, 8 months ago (2017-03-29 18:07:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2786463002/20001
3 years, 8 months ago (2017-03-29 18:08:28 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/394295)
3 years, 8 months ago (2017-03-29 19:16:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2786463002/20001
3 years, 8 months ago (2017-03-29 19:58:54 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 20:43:30 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c785f2a0d65bbac2f5f896862e1a...

Powered by Google App Engine
This is Rietveld 408576698