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

Side by Side Diff: third_party/WebKit/Source/core/paint/FilterPainter.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/FilterPainter.h" 5 #include "core/paint/FilterPainter.h"
6 6
7 #include <memory>
7 #include "core/paint/FilterEffectBuilder.h" 8 #include "core/paint/FilterEffectBuilder.h"
8 #include "core/paint/LayerClipRecorder.h" 9 #include "core/paint/LayerClipRecorder.h"
9 #include "core/paint/PaintLayer.h" 10 #include "core/paint/PaintLayer.h"
10 #include "platform/RuntimeEnabledFeatures.h" 11 #include "platform/RuntimeEnabledFeatures.h"
11 #include "platform/graphics/CompositorFilterOperations.h" 12 #include "platform/graphics/CompositorFilterOperations.h"
12 #include "platform/graphics/GraphicsContext.h" 13 #include "platform/graphics/GraphicsContext.h"
13 #include "platform/graphics/GraphicsLayer.h" 14 #include "platform/graphics/GraphicsLayer.h"
14 #include "platform/graphics/filters/FilterEffect.h" 15 #include "platform/graphics/filters/FilterEffect.h"
15 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" 16 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
16 #include "platform/graphics/paint/FilterDisplayItem.h" 17 #include "platform/graphics/paint/FilterDisplayItem.h"
17 #include "platform/graphics/paint/PaintController.h" 18 #include "platform/graphics/paint/PaintController.h"
18 #include "wtf/PtrUtil.h" 19 #include "wtf/PtrUtil.h"
19 #include <memory>
20 20
21 namespace blink { 21 namespace blink {
22 22
23 FilterPainter::FilterPainter(PaintLayer& layer, 23 FilterPainter::FilterPainter(PaintLayer& layer,
24 GraphicsContext& context, 24 GraphicsContext& context,
25 const LayoutPoint& offsetFromRoot, 25 const LayoutPoint& offsetFromRoot,
26 const ClipRect& clipRect, 26 const ClipRect& clipRect,
27 PaintLayerPaintingInfo& paintingInfo, 27 PaintLayerPaintingInfo& paintingInfo,
28 PaintLayerFlags paintFlags) 28 PaintLayerFlags paintFlags)
29 : m_filterInProgress(false), 29 : m_filterInProgress(false),
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 89
90 FilterPainter::~FilterPainter() { 90 FilterPainter::~FilterPainter() {
91 if (!m_filterInProgress) 91 if (!m_filterInProgress)
92 return; 92 return;
93 93
94 m_context.getPaintController().endItem<EndFilterDisplayItem>(*m_layoutObject); 94 m_context.getPaintController().endItem<EndFilterDisplayItem>(*m_layoutObject);
95 } 95 }
96 96
97 } // namespace blink 97 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.h ('k') | third_party/WebKit/Source/core/paint/GridPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698