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

Issue 2245833003: Indexed DB: Hold BlobChangeRecords in maps using smart pointers (Closed)

Created:
4 years, 4 months ago by jsbell
Modified:
4 years, 4 months ago
Reviewers:
cmumford
CC:
chromium-reviews, jam, jsbell+idb_chromium.org, darin-cc_chromium.org, cmumford
Base URL:
https://chromium.googlesource.com/chromium/src.git@idb-unique
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Indexed DB: Hold BlobChangeRecords in maps using smart pointers Don't trust manual new/delete accounting - I hear unique_ptr is a thing. BUG=637019, 555865 R=cmumford@chromium.org Committed: https://crrev.com/c93fe49115fd12c42c14bb76e33bd45f728d3358 Cr-Commit-Position: refs/heads/master@{#412226}

Patch Set 1 #

Total comments: 2

Patch Set 2 : No implicit copy/assign #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -23 lines) Patch
M content/browser/indexed_db/indexed_db_backing_store.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 1 6 chunks +13 lines, -20 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (12 generated)
jsbell
cmumford@ - please take a look?
4 years, 4 months ago (2016-08-12 22:31:20 UTC) #2
cmumford
https://codereview.chromium.org/2245833003/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/2245833003/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc#newcode4032 content/browser/indexed_db/indexed_db_backing_store.cc:4032: incognito_blob_map_[iter.first] = iter.second->Clone(); Does this need to be a ...
4 years, 4 months ago (2016-08-13 00:27:20 UTC) #6
jsbell
note to self: I believe the failure is because IndexedDBBackingStore::Transaction has an implicit copy constructor, ...
4 years, 4 months ago (2016-08-16 02:49:20 UTC) #8
jsbell
Looks like that did it. cmumford@ - another look? https://codereview.chromium.org/2245833003/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/2245833003/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc#newcode4032 content/browser/indexed_db/indexed_db_backing_store.cc:4032: ...
4 years, 4 months ago (2016-08-16 05:15:44 UTC) #13
cmumford
lgtm
4 years, 4 months ago (2016-08-16 12:11:48 UTC) #14
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/2245833003/20001
4 years, 4 months ago (2016-08-16 13:31:01 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-16 13:35:09 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 13:36:50 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c93fe49115fd12c42c14bb76e33bd45f728d3358
Cr-Commit-Position: refs/heads/master@{#412226}

Powered by Google App Engine
This is Rietveld 408576698