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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698