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

Unified Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.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/platform/testing/WebLayerTreeViewImplForTesting.cpp
diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
index a41b2beabec9d379f4be67d2b9e68e580a77ca0e..ca9baafae84a66c5b1f3bd02734756ee8b224b36 100644
--- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
+++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
@@ -156,11 +156,10 @@ void WebLayerTreeViewImplForTesting::registerViewportLayers(
m_layerTreeHost->RegisterViewportLayers(
// The scroll elasticity layer will only exist when using pinch virtual
// viewports.
- overscrollElasticityLayer
- ? static_cast<const cc_blink::WebLayerImpl*>(
- overscrollElasticityLayer)
- ->layer()
- : nullptr,
+ overscrollElasticityLayer ? static_cast<const cc_blink::WebLayerImpl*>(
+ overscrollElasticityLayer)
+ ->layer()
+ : nullptr,
static_cast<const cc_blink::WebLayerImpl*>(pageScaleLayer)->layer(),
static_cast<const cc_blink::WebLayerImpl*>(innerViewportScrollLayer)
->layer(),

Powered by Google App Engine
This is Rietveld 408576698