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

Issue 2807053002: Call elements' destructors in HashTable (Closed)

Created:
3 years, 8 months ago by yhirano
Modified:
3 years, 8 months ago
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews, kinuko+watch, kouhei+heap_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Call elements' destructors in HashTable HashTable::ExpandBuffer doesn't call elements' destructors appropriately. It relys on a wrong assumption that it doesn't have to call the destructor on a moved out object. This CL fixes that. BUG=709848 Review-Url: https://codereview.chromium.org/2807053002 Cr-Commit-Position: refs/heads/master@{#463174} Committed: https://chromium.googlesource.com/chromium/src/+/f3e971b60293bb5f7e6bd8de03b7f3ea77a2be13

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -0 lines) Patch
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 3 chunks +71 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/wtf/HashTable.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
yhirano
3 years, 8 months ago (2017-04-10 03:58:17 UTC) #6
Yuta Kitamura
I've thought about this for a while and yes, you seem right. LGTM. optional: Having ...
3 years, 8 months ago (2017-04-10 05:26:10 UTC) #9
kouhei (in TOK)
lgtm
3 years, 8 months ago (2017-04-10 05:29:31 UTC) #10
yhirano
> optional: Having a unit test would make this CL nicer. I added one in ...
3 years, 8 months ago (2017-04-10 05:30:58 UTC) #11
haraken
LGTM
3 years, 8 months ago (2017-04-10 05:35:10 UTC) #12
Yuta Kitamura
On 2017/04/10 05:30:58, yhirano wrote: > > optional: Having a unit test would make this ...
3 years, 8 months ago (2017-04-10 05:37:39 UTC) #13
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/2807053002/1
3 years, 8 months ago (2017-04-10 05:38:40 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 05:44:42 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f3e971b60293bb5f7e6bd8de03b7...

Powered by Google App Engine
This is Rietveld 408576698