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

Issue 1979843002: Remove C::swap(C*) where C = Hash{Map,Set}<T>. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 7 months ago
Reviewers:
haraken, tkent
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews, kinuko+watch, kouhei+heap_chromium.org, blink-reviews-wtf_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove C::swap(C*) where C = Hash{Map,Set}<T>. Remove the swap() method over non-reference hash sets and map arguments, along with their curious OtherType indirection, the methods aren't of real use. R= BUG= Committed: https://crrev.com/79c00d4fb5f5afb20ea12b88e9ce7ecae5f79f33 Cr-Commit-Position: refs/heads/master@{#393770}

Patch Set 1 #

Patch Set 2 : remove swap(C<T>*)s #

Patch Set 3 : adjust swap() usage #

Patch Set 4 : HeapTest compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -43 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapAllocator.h View 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/wtf/HashMap.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/wtf/HashSet.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h View 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
sof
please take a look. The introduction of these methods and OtherType comes from https://codereview.chromium.org/131803005/ - ...
4 years, 7 months ago (2016-05-15 06:52:21 UTC) #3
haraken
LGTM
4 years, 7 months ago (2016-05-15 08:08:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1979843002/40002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1979843002/40002
4 years, 7 months ago (2016-05-15 08:38:33 UTC) #6
commit-bot: I haz the power
Committed patchset #4 (id:40002)
4 years, 7 months ago (2016-05-15 10:26:06 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-15 10:28:10 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/79c00d4fb5f5afb20ea12b88e9ce7ecae5f79f33
Cr-Commit-Position: refs/heads/master@{#393770}

Powered by Google App Engine
This is Rietveld 408576698