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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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/paint/PaintLayerClipper.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
index 3a703cacddc9b186a5166d8afdb54d39e6ba7d3f..6ebf3345a655e33dd8dd74fae22af50b28c95f8d 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
@@ -53,8 +53,7 @@
namespace blink {
-static bool HasOverflowClip(
- const PaintLayer& layer) {
+static bool HasOverflowClip(const PaintLayer& layer) {
if (!layer.GetLayoutObject().IsBox())
return false;
const LayoutBox& box = ToLayoutBox(layer.GetLayoutObject());
@@ -493,8 +492,7 @@ void PaintLayerClipper::InitializeCommonClipRectState(
if (context.ShouldRespectRootLayerClip()) {
const auto* ancestor_css_clip = ancestor_properties->CssClip();
if (ancestor_css_clip) {
- DCHECK_EQ(destination_property_tree_state.Clip(),
- ancestor_css_clip);
+ DCHECK_EQ(destination_property_tree_state.Clip(), ancestor_css_clip);
destination_property_tree_state.SetClip(ancestor_css_clip->Parent());
}
} else {

Powered by Google App Engine
This is Rietveld 408576698