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

Unified Diff: third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.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/core/css/invalidation/StyleInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp b/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
index 79c4df3d7b77ae513ab9e913a52386675e749b2b..918445e5ac1e74cc5c354843bf3bda31250291e4 100644
--- a/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
+++ b/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
@@ -112,8 +112,9 @@ void StyleInvalidator::scheduleSiblingInvalidationsAsDescendants(
for (auto& invalidationSet : invalidationLists.siblings) {
if (invalidationSet->wholeSubtreeInvalid()) {
schedulingParent.setNeedsStyleRecalc(
- SubtreeStyleChange, StyleChangeReasonForTracing::create(
- StyleChangeReason::StyleInvalidator));
+ SubtreeStyleChange,
+ StyleChangeReasonForTracing::create(
+ StyleChangeReason::StyleInvalidator));
return;
}
if (invalidationSet->invalidatesSelf() &&
@@ -124,8 +125,9 @@ void StyleInvalidator::scheduleSiblingInvalidationsAsDescendants(
toSiblingInvalidationSet(*invalidationSet).siblingDescendants()) {
if (descendants->wholeSubtreeInvalid()) {
schedulingParent.setNeedsStyleRecalc(
- SubtreeStyleChange, StyleChangeReasonForTracing::create(
- StyleChangeReason::StyleInvalidator));
+ SubtreeStyleChange,
+ StyleChangeReasonForTracing::create(
+ StyleChangeReason::StyleInvalidator));
return;
}
if (!pendingInvalidations.descendants().contains(descendants))
@@ -299,8 +301,9 @@ void StyleInvalidator::pushInvalidationSetsForContainerNode(
TRACE_EVENT_INSTANT1(
TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"),
"StyleInvalidatorInvalidationTracking", TRACE_EVENT_SCOPE_THREAD,
- "data", InspectorStyleInvalidatorInvalidateEvent::invalidationList(
- node, pendingInvalidations->descendants()));
+ "data",
+ InspectorStyleInvalidatorInvalidateEvent::invalidationList(
+ node, pendingInvalidations->descendants()));
}
}
}
@@ -431,8 +434,9 @@ void StyleInvalidator::invalidateSlotDistributedElements(
if (recursionData.matchesCurrentInvalidationSetsAsSlotted(
toElement(*distributedNode)))
distributedNode->setNeedsStyleRecalc(
- LocalStyleChange, StyleChangeReasonForTracing::create(
- StyleChangeReason::StyleInvalidator));
+ LocalStyleChange,
+ StyleChangeReasonForTracing::create(
+ StyleChangeReason::StyleInvalidator));
}
}

Powered by Google App Engine
This is Rietveld 408576698