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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutCounter.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/layout/LayoutCounter.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
index a0e4be177a0dc40560d2d9dfad880e968d07180b..85fa3dd69d1412ffbea1225974cd2bc05a5c293d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutCounter.cpp
@@ -250,8 +250,9 @@ static bool findPlaceForCounter(LayoutObject& counterOwner,
if (currentCounter->actsAsReset()) {
// We found a reset counter that is on a layoutObject that is a
// sibling of ours or a parent.
- if (isReset && areLayoutObjectsElementsSiblings(
- *currentLayoutObject, counterOwner)) {
+ if (isReset &&
+ areLayoutObjectsElementsSiblings(*currentLayoutObject,
+ counterOwner)) {
// We are also a reset counter and the previous reset was on a
// sibling layoutObject hence we are the next sibling of that
// counter if that reset is not a root or we are a root node if
@@ -296,8 +297,9 @@ static bool findPlaceForCounter(LayoutObject& counterOwner,
// are a sibling of the end counter we must set previousSibling to
// currentCounter.
if (currentCounter->actsAsReset()) {
- if (isReset && areLayoutObjectsElementsSiblings(
- *currentLayoutObject, counterOwner)) {
+ if (isReset &&
+ areLayoutObjectsElementsSiblings(*currentLayoutObject,
+ counterOwner)) {
parent = currentCounter->parent();
previousSibling = currentCounter;
return parent.get();

Powered by Google App Engine
This is Rietveld 408576698