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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/paint/PaintPropertyTreeBuilder.h" 5 #include "core/paint/PaintPropertyTreeBuilder.h"
6 6
7 #include <memory>
7 #include "core/dom/DOMNodeIds.h" 8 #include "core/dom/DOMNodeIds.h"
8 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
9 #include "core/frame/LocalFrame.h" 10 #include "core/frame/LocalFrame.h"
10 #include "core/frame/Settings.h" 11 #include "core/frame/Settings.h"
11 #include "core/layout/LayoutInline.h" 12 #include "core/layout/LayoutInline.h"
12 #include "core/layout/LayoutView.h" 13 #include "core/layout/LayoutView.h"
13 #include "core/layout/compositing/CompositingReasonFinder.h" 14 #include "core/layout/compositing/CompositingReasonFinder.h"
14 #include "core/layout/svg/LayoutSVGRoot.h" 15 #include "core/layout/svg/LayoutSVGRoot.h"
15 #include "core/layout/svg/SVGLayoutSupport.h" 16 #include "core/layout/svg/SVGLayoutSupport.h"
16 #include "core/paint/FindPropertiesNeedingUpdate.h" 17 #include "core/paint/FindPropertiesNeedingUpdate.h"
17 #include "core/paint/ObjectPaintProperties.h" 18 #include "core/paint/ObjectPaintProperties.h"
18 #include "core/paint/PaintLayer.h" 19 #include "core/paint/PaintLayer.h"
19 #include "core/paint/SVGRootPainter.h" 20 #include "core/paint/SVGRootPainter.h"
20 #include "platform/transforms/TransformationMatrix.h" 21 #include "platform/transforms/TransformationMatrix.h"
21 #include "wtf/PtrUtil.h" 22 #include "wtf/PtrUtil.h"
22 #include <memory>
23 23
24 namespace blink { 24 namespace blink {
25 25
26 PaintPropertyTreeBuilderContext 26 PaintPropertyTreeBuilderContext
27 PaintPropertyTreeBuilder::setupInitialContext() { 27 PaintPropertyTreeBuilder::setupInitialContext() {
28 PaintPropertyTreeBuilderContext context; 28 PaintPropertyTreeBuilderContext context;
29 context.current.clip = context.absolutePosition.clip = 29 context.current.clip = context.absolutePosition.clip =
30 context.fixedPosition.clip = ClipPaintPropertyNode::root(); 30 context.fixedPosition.clip = ClipPaintPropertyNode::root();
31 context.currentEffect = EffectPaintPropertyNode::root(); 31 context.currentEffect = EffectPaintPropertyNode::root();
32 context.inputClipOfCurrentEffect = ClipPaintPropertyNode::root(); 32 context.inputClipOfCurrentEffect = ClipPaintPropertyNode::root();
(...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 updateOverflowClip(object, context); 1085 updateOverflowClip(object, context);
1086 updatePerspective(object, context); 1086 updatePerspective(object, context);
1087 updateSvgLocalToBorderBoxTransform(object, context); 1087 updateSvgLocalToBorderBoxTransform(object, context);
1088 updateScrollAndScrollTranslation(object, context); 1088 updateScrollAndScrollTranslation(object, context);
1089 updateOutOfFlowContext(object, context); 1089 updateOutOfFlowContext(object, context);
1090 1090
1091 context.forceSubtreeUpdate |= object.subtreeNeedsPaintPropertyUpdate(); 1091 context.forceSubtreeUpdate |= object.subtreeNeedsPaintPropertyUpdate();
1092 } 1092 }
1093 1093
1094 } // namespace blink 1094 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698