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

Side by Side Diff: third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp

Issue 2795923002: Rewrite references to "wtf/" to "platform/wtf/" in platform/heap. (Closed)
Patch Set: Same as PS1; PS1 lacks some files for some reason. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/heap/HeapCompact.h" 5 #include "platform/heap/HeapCompact.h"
6 6
7 #include "platform/heap/Handle.h" 7 #include "platform/heap/Handle.h"
8 #include "platform/heap/SparseHeapBitmap.h" 8 #include "platform/heap/SparseHeapBitmap.h"
9 #include "platform/wtf/Deque.h"
10 #include "platform/wtf/HashMap.h"
11 #include "platform/wtf/LinkedHashSet.h"
12 #include "platform/wtf/Vector.h"
9 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
10 #include "wtf/Deque.h"
11 #include "wtf/HashMap.h"
12 #include "wtf/LinkedHashSet.h"
13 #include "wtf/Vector.h"
14 14
15 #include <memory> 15 #include <memory>
16 16
17 namespace blink { 17 namespace blink {
18 class IntWrapper; 18 class IntWrapper;
19 } 19 }
20 20
21 using IntVector = blink::HeapVector<blink::Member<blink::IntWrapper>>; 21 using IntVector = blink::HeapVector<blink::Member<blink::IntWrapper>>;
22 using IntDeque = blink::HeapDeque<blink::Member<blink::IntWrapper>>; 22 using IntDeque = blink::HeapDeque<blink::Member<blink::IntWrapper>>;
23 using IntMap = blink::HeapHashMap<blink::Member<blink::IntWrapper>, int>; 23 using IntMap = blink::HeapHashMap<blink::Member<blink::IntWrapper>, int>;
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 452
453 expected = 0; 453 expected = 0;
454 for (const Inner* v : *set) { 454 for (const Inner* v : *set) {
455 EXPECT_EQ(1u, v->size()); 455 EXPECT_EQ(1u, v->size());
456 EXPECT_EQ(expected, (*v->begin())->value()); 456 EXPECT_EQ(expected, (*v->begin())->value());
457 expected++; 457 expected++;
458 } 458 }
459 } 459 }
460 460
461 } // namespace blink 461 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapCompact.cpp ('k') | third_party/WebKit/Source/platform/heap/HeapLinkedStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698