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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.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/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index c4f458bb8d3cec9c01b48c912f656195913b3bf3..0cb0306c220cad18f2588b921672870f7df8802f 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -471,10 +471,9 @@ void VisualViewport::setupScrollbar(WebScrollbar::Orientation orientation) {
isHorizontal
? m_innerViewportContainerLayer->size().height() - scrollbarThickness
: 0;
- int width =
- isHorizontal
- ? m_innerViewportContainerLayer->size().width() - scrollbarThickness
- : scrollbarThickness;
+ int width = isHorizontal ? m_innerViewportContainerLayer->size().width() -
+ scrollbarThickness
+ : scrollbarThickness;
int height = isHorizontal ? scrollbarThickness
: m_innerViewportContainerLayer->size().height() -
scrollbarThickness;

Powered by Google App Engine
This is Rietveld 408576698