[cleanup] clang-format ui/native_theme.
Produced with:
find ui/native_theme -name "*.cc" -o -name "*.h" -o -name "*.mm" \
| xargs clang-format -i
Bug: none
Low-Coverage-Reason: TRIVIAL_CHANGE formatting only
Change-Id: I7dbd3062f9a1dadc3a43f54bc08bded71966eaf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6117064
Commit-Queue: Peter Kasting <[email protected]>
Reviewed-by: Peter Boström <[email protected]>
Auto-Submit: Peter Kasting <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1399667}
diff --git a/ui/native_theme/native_theme_fluent_unittest.cc b/ui/native_theme/native_theme_fluent_unittest.cc
index 168809d..bf8a4ae4 100644
--- a/ui/native_theme/native_theme_fluent_unittest.cc
+++ b/ui/native_theme/native_theme_fluent_unittest.cc
@@ -51,8 +51,9 @@
}
void VerifyArrowRectIsIntRect(const gfx::RectF& arrow_rect) const {
- if (theme_.ArrowIconsAvailable())
+ if (theme_.ArrowIconsAvailable()) {
return;
+ }
// Verify that an arrow rect with triangular arrows is an integer rect.
EXPECT_TRUE(IsNearestRectWithinDistance(arrow_rect, 0.01f));
@@ -96,8 +97,9 @@
base::ClampFloor(kFluentScrollbarThickness * ScaleFromDIP());
if (part == NativeTheme::kScrollbarUpArrow ||
- part == NativeTheme::kScrollbarDownArrow)
+ part == NativeTheme::kScrollbarDownArrow) {
return gfx::RectF(0, 0, track_thickness, button_length);
+ }
return gfx::RectF(0, 0, button_length, track_thickness);
}