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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm

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/scroll/ScrollbarThemeMac.mm
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
index f5fdf814bc92f9947f40df6ad4652fcba3e1391c..db02e869772e7458c8a6db9f9ccccb8176fc8e3b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
@@ -208,11 +208,12 @@ void ScrollbarThemeMac::registerScrollbar(ScrollbarThemeClient& scrollbar) {
bool isHorizontal = scrollbar.orientation() == HorizontalScrollbar;
RetainPtr<ScrollbarPainter> scrollbarPainter(
- AdoptNS, [[NSClassFromString(@"NSScrollerImp")
- scrollerImpWithStyle:recommendedScrollerStyle()
- controlSize:(NSControlSize)scrollbar.controlSize()
- horizontal:isHorizontal
- replacingScrollerImp:nil] retain]);
+ AdoptNS,
+ [[NSClassFromString(@"NSScrollerImp")
+ scrollerImpWithStyle:recommendedScrollerStyle()
+ controlSize:(NSControlSize)scrollbar.controlSize()
+ horizontal:isHorizontal
+ replacingScrollerImp:nil] retain]);
RetainPtr<BlinkScrollbarObserver> observer(
AdoptNS,
[[BlinkScrollbarObserver alloc] initWithScrollbar:&scrollbar

Powered by Google App Engine
This is Rietveld 408576698