| Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| index af153c5587c4c8ab1c4041381dd7eadbd071f0a7..b25f30726c24946c28a49a01b34290a902d42e1d 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| @@ -3471,8 +3471,9 @@ TEST(HeapTest, HeapWeakCollectionTypes) {
|
| for (int i = 0; i < 128; i += 2) {
|
| bool firstAlive = keepNumbersAlive[i];
|
| bool secondAlive = keepNumbersAlive[i + 1];
|
| - if (firstAlive && (collectionNumber == weakStrongIndex ||
|
| - collectionNumber == strongWeakIndex))
|
| + if (firstAlive &&
|
| + (collectionNumber == weakStrongIndex ||
|
| + collectionNumber == strongWeakIndex))
|
| secondAlive = true;
|
| if (firstAlive && secondAlive &&
|
| collectionNumber < numberOfMapIndices) {
|
| @@ -5017,8 +5018,9 @@ TEST(HeapTest, EphemeronsInEphemerons) {
|
| EXPECT_EQ(10000u, outer->size());
|
| for (int i = 0; i < 10000; i++) {
|
| IntWrapper* value = keepAlive->at(i);
|
| - EXPECT_EQ(1u, outer->get(value)
|
| - .size()); // Other one was deleted by weak handling.
|
| + EXPECT_EQ(1u,
|
| + outer->get(value)
|
| + .size()); // Other one was deleted by weak handling.
|
| if (i & 1)
|
| keepAlive->at(i) = nullptr;
|
| }
|
|
|