Commit f0914305 authored by Stephen Kyle's avatar Stephen Kyle Committed by Commit Bot

blink/heap: remove spurious ShrinkVector change

Looks like some extra code was introduced to HeapTest.ShrinkVector in
ee337661 that likely wasn't meant to be.

Change-Id: Ief988a083881a95bf1bbcdf6cacba29aabf1c480
Reviewed-on: https://chromium-review.googlesource.com/c/1352155Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611120}
parent 27a234f7
...@@ -6782,14 +6782,6 @@ TEST(HeapTest, PromptlyFreeStackAllocatedHeapLinkedHashSet) { ...@@ -6782,14 +6782,6 @@ TEST(HeapTest, PromptlyFreeStackAllocatedHeapLinkedHashSet) {
} }
TEST(HeapTest, ShrinkVector) { TEST(HeapTest, ShrinkVector) {
HashMap<int, int> a;
a.insert(1, 2);
HashMap<int, int> b;
b = std::move(a);
a.clear();
LOG(ERROR) << "a.size() " << a.size();
LOG(ERROR) << "b.size() " << b.size();
// Regression test: https://crbug.com/823289 // Regression test: https://crbug.com/823289
HeapVector<Member<IntWrapper>> vector; HeapVector<Member<IntWrapper>> vector;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment